Add build step to Play 2.0 project (scala / sbt)

I am writing a Play 2.0 project in Scala, and I need to run the command line tool before SBT decides what to compile (the command will create / replace the .scala file in the project with one generated from some data). I'm a complete newbie to SBT, and for some quick time at Google there was nothing promising. How can I do it?

+6
source share
1 answer

To create sources before compilation, look at source generators:

http://www.scala-sbt.org/0.12.3/docs/Howto/generatefiles.html

+1
source

All Articles