-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
33 lines (24 loc) · 1.01 KB
/
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
name := "Intro to Propery-based Testing"
organization := "net.ssanj"
version := "0.0.1"
scalaVersion := "2.12.1"
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
)
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Xfatal-warnings",
"-Xlint:_",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-unused-import",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit"
)
scalacOptions in (Compile, console) ~= (_.filterNot(Seq("-Xfatal-warnings", "-Ywarn-unused-import") contains _))
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value
initialCommands := "import net.ssanj.intro.pbt._\nimport org.scalacheck._"