-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🤖 Add file patterns to config.json #360
Conversation
@ErikSchierboom So just to be clear - these patterns are not replacing the fields in |
@verdammelt That is 💯% correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've update the pattern to be correct for the common lisp track.
@ErikSchierboom thanks again to you and your mad-github-pr-scripting-skills. |
I've created a script that will automatically populate the In the future, we'll update |
I think that might be useful for our practice exercises! Sounds good to me! |
Ah, it turns out that you had already done the work yourselves! Hurray for you! |
âš This PR requires you to make a simple change before merging. âš
To save maintainers from having to manually specify the
files
key in their exercises'.meta/config.json
files, we are providing support for track-level patterns. See this PR for details.This PR adds (purposefully wrong) file patterns to the
config.json
file. It is up to you, the track maintainers, to change these patterns to their correct value.You can use the following placeholders:
%{kebab_slug}
: thekebab-case
exercise slug (e.g.bit-manipulation
)%{snake_slug}
: thesnake_case
exercise slug (e.g.bit_manipulation
)%{camel_slug}
: thecamelCase
exercise slug (e.g.bitManipulation
)%{pascal_slug}
: thePascalCase
exercise slug (e.g.BitManipulation
)We will soon update
configlet
to enable it to automatically populate the.meta/config.json
file'sfiles
property, at which point we will then batch-PR updates to all tracks that have merged this PR.Tracking
exercism/v3-launch#19