mirror of https://github.com/sbt/sbt.git
sbt.buildLevel=compile
parent
15d6057dcb
commit
f56fae41d7
|
|
@ -43,3 +43,11 @@ addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
|
|||
When she launches sbt, sbt-idea is not loaded automatically.
|
||||
|
||||
When she launches sbt with `sbt.buildLevel=+idea`, the plugin is loaded.
|
||||
|
||||
## User Story: Scaling down the build down to minimal
|
||||
|
||||
User splits up her `*.sbt` into `compile.sbt`, `test.sbt`, and `publish.sbt`, `project/plugins.sbt` into `compile.sbt`, `test.sbt` and `publish.sbt` each set to an appropriate `buildLevel`.
|
||||
|
||||
When she launches sbt with `sbt.buildLevel=compile` (notice no `+` sign in front of `compile`), only the setting sets scoped in `compile` are loaded. `compile` includes all built-in settings.
|
||||
|
||||
When she launches sbt with `sbt.buildLevel=compile,publish`, only the setting sets scoped in `compile` and `publish` are loaded.
|
||||
|
|
|
|||
Loading…
Reference in New Issue