-
Notifications
You must be signed in to change notification settings - Fork 1
/
sbt.sbt
25 lines (20 loc) · 882 Bytes
/
sbt.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import SbtUtil._
Global / onChangedBuildSource := ReloadOnSourceChanges
Test / parallelExecution := false
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oSD")
Test / turbo := true
ThisBuild / autoStartServer := false
ThisBuild / includePluginResolvers := true
ThisBuild / turbo := true
ThisBuild / useSuperShell := false
ThisBuild / watchBeforeCommand := Watch.clearScreen
ThisBuild / watchTriggeredMessage := Watch.clearScreenOnTrigger
ThisBuild / watchForceTriggerOnAnyChange := true
ThisBuild / shellPrompt := { state => s"${prompt(projectName(state))}> " }
ThisBuild / watchStartMessage := {
case (iteration, ProjectRef(build, projectName), commands) =>
Some {
s"""|~${commands.map(styled).mkString(";")}
|Monitoring source files for ${prompt(projectName)}...""".stripMargin
}
}