This project provides an SBT 0.13.9+ plugin for compiling and packaging a single file.
The implementation was based on an older implementation found here.
Add the following lines to
addSbtPlugin("com.etsy" % "sbt-compile-quick-plugin" % "1.3.0")
sbt-compile-quick-plugin is an AutoPlugin, so there is no need to modify the
build.sbt file to enable it.
You can compile a single file with the
compileQuick command. It
supports tab-completing the file name. You can also compile a single
test file with the
You can produce a JAR without compiling any additional files with the
packageQuick command. By default this will include all class files
compile:classDirectory. You can add additional files to
be packaged by
packageQuick by appending to the value of