playframework / play-meta

Team management & cross-repository effort tracking
Apache License 2.0
8 stars 8 forks source link

`validateCode` and `formatCode` helpers #252

Open mkurz opened 2 years ago

mkurz commented 2 years ago

Does not have validateCode (and therefore also no formatCode)

That might also mean these repos do not even pull in scalafmt.

These I am not sure about because they are seed projects. We can add formatting but I don't think scalafmt should be included when running sbt new ...

In play-samples sbt <command> will not work, because in this repo is the mothership for a lot of projects. We probably would need something like the test.sh script which goes into each project, and runs the sbt command (like validateCode.sh and formatCode.sh:

Has validateCode but no formatCode

mkurz commented 1 year ago

@ihostage Look at https://github.com/playframework/playframework/pull/11513, I tried to come up with a solution how we can sync the same files everywhere and using sys properties as for a repo's special needs. What do you think?