exercism / coffeescript

Exercism exercises in CoffeeScript.
https://exercism.org/tracks/coffeescript
MIT License
19 stars 50 forks source link

🤖 Sync exercise files keys based on file path patterns #146

Closed ErikSchierboom closed 3 years ago

ErikSchierboom commented 3 years ago

To help tracks define the files in the exercise's .meta/config.json file, we've added support for defining these file patterns in the track's config.json file. See this PR.

This PR updates the file paths defined in the files property of each exercise's .meta/config.json file according to the file patterns defined in the track's config.json file.

We only update a file path in the .meta/config.json file if:

This means that exercises that had already defined files in the .meta/config.json won't be touched in this PR.

Note that this PR is just an easy way for tracks to populate the files in the .meta/config.json files. Tracks are completely free to add/change/remove the files in their .meta/config.json files.

In the future, we'll update configlet to include this functionality. If you'd like me to re-run the script because changes have been made, feel free to ping me on Slack (@erikschierboom).

Tracking

https://github.com/exercism/v3-launch/issues/20