-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
sbt.sbt
30 lines (24 loc) · 887 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
26
27
28
29
30
import MyUtil._
Global / onChangedBuildSource := ReloadOnSourceChanges
Global / excludeLintKeys ++= Set(
autoStartServer,
turbo,
evictionWarningOptions,
)
Test / parallelExecution := false
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oSD")
Test / turbo := true
ThisBuild / autoStartServer := false
ThisBuild / includePluginResolvers := true
ThisBuild / turbo := true
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
}
}