-
Notifications
You must be signed in to change notification settings - Fork 0
/
sbt.sbt
31 lines (25 loc) · 920 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
31
import Util._
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 / 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
}
}