diff --git a/User-Stories:-Build-Level.md b/User-Stories:-Build-Level.md index eac8360..f76815e 100644 --- a/User-Stories:-Build-Level.md +++ b/User-Stories:-Build-Level.md @@ -5,7 +5,7 @@ This document outlines the desired use cases of BuildLevel feature. User splits up her `*.sbt` into `compile.sbt`, `test.sbt`, and `publish.sbt`. Here's `test.sbt`: ```scala -buildLevel in ThisSet := test +buildLevel in ThisScript := test libraryDependency += "org.specs2" %% "specs2" % "2.3.10" % "test" ``` @@ -19,7 +19,7 @@ When she launches sbt with `sbt.buildLevel=-test`, any settings written in `tess User splits up her `project/plugins.sbt` into `compile.sbt`, `test.sbt` and `publish.sbt`. Here's `project/publish.sbt`: ```scala -buildLevel in ThisSet := publish +buildLevel in ThisScript := publish addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.20.0") ``` @@ -35,7 +35,7 @@ When she launches sbt with `sbt.buildLevel=-publish`, the plugin is no longer lo User splits up her `~/.sbt/0.13/plugins/plugins.sbt` into `idea.sbt` etc. Here's `~/.sbt/0.13/plugins/idea.sbt`: ```scala -buildLevel in ThisSet := BuildLevel(name = "idea", optional = true) +buildLevel in ThisScript := BuildLevel(name = "idea", optional = true) addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0") ```