I'm writing a Play 2.0 project in Scala, and I need to run a command-line tool before SBT starts deciding what to compile (the command will create/replace a .scala file in the project with one generated from some data). I'm a complete novice in SBT, and some quick time on Google didn't turn up anything promising. How should I do this?
For creating sources prior to compilation, have a look at source generators:
http://www.scala-sbt.org/0.12.3/docs/Howto/generatefiles.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With