-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
33 lines (26 loc) · 818 Bytes
/
build.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
32
33
scalaVersion := "2.12.3"
enablePlugins(ScalaJSPlugin)
scalaJSUseMainModuleInitializer := true
mainClass in Compile := Some("offGridOrcs.Main")
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.1",
"org.scalatest" %% "scalatest" % "3.0.3" % Test,
"com.github.dwickern" %% "scala-nameof" % "1.0.3" % Provided
)
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-Xlint",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-unused-import"
)
scalaSource in Compile := baseDirectory.value / "src"
scalaSource in Test := baseDirectory.value / "src"
val testFilePattern = "*.Test.scala"
excludeFilter in Compile := testFilePattern
excludeFilter in Test := NothingFilter
includeFilter in Test := testFilePattern
logBuffered in Test := false