exercism / scala

Exercism exercises in Scala.
https://exercism.org/tracks/scala
MIT License
123 stars 131 forks source link

🤖 Add file patterns to config.json #663

Closed ErikSchierboom closed 3 years ago

ErikSchierboom commented 3 years ago

âš  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:

We will soon update configlet to enable it to automatically populate the .meta/config.json file's files property, at which point we will then batch-PR updates to all tracks that have merged this PR.

Tracking

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

ErikSchierboom commented 3 years ago

@leobenkel This PR actually requires a change to be made :)

ErikSchierboom commented 3 years ago

@leobenkel I'm sorry I wasn't clear, but what I meant was that this PR is not ready to be merged as its contents should be modified by maintainers first :)

leobenkel commented 3 years ago

@leobenkel I'm sorry I wasn't clear, but what I meant was that this PR is not ready to be merged as its contents should be modified by maintainers first :)

Oh I understand. I think Github has a feature to mark PR as draft, that could avoid confusion :)

ErikSchierboom commented 3 years ago

Ah yes, that would have been useful. Sorry!

MeerKatDev commented 3 years ago

I'm not sure this is what it's required here, but in general, as far as scala with sbt is concerned, you have src/main/scala for the app files and src/test/scala for the tests. there is a scala part because there could be also a java folder there, and main, test are environments-level, so there could be a staging or production there.