-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
51 lines (44 loc) · 1.29 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
enablePlugins(GitVersioning)
git.useGitDescribe := true
ThisBuild / organization := "ch.epfl.lara"
ThisBuild / scalaVersion := "2.13.4"
ThisBuild / resolvers ++= Seq(
Resolver.bintrayRepo("epfl-lara", "maven")
)
ThisBuild / scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-deprecation",
"-unchecked",
"-feature",
"-Wconf:cat=other-match-analysis&src=Trees.scala:s," +
"cat=other-match-analysis&src=Printer.scala:s," +
"cat=other-match-analysis&src=Parser.scala:s," +
"msg=Exhaustivity analysis reached max recursion depth:s"
)
ThisBuild / maxErrors := 5
lazy val core = project
.in(file("core"))
.settings(
name := "stainless-fit",
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.2" % "test",
"ch.epfl.lara" %% "silex" % "0.5",
),
Test / fork := true,
Test / baseDirectory := (ThisBuild / baseDirectory).value,
unmanagedBase := {
(ThisBuild / baseDirectory).value / "lib"
}
)
lazy val cli = project
.in(file("cli"))
.enablePlugins(JavaAppPackaging, BuildInfoPlugin)
.dependsOn(core)
.settings(
name := "fit",
libraryDependencies ++= Seq(
"com.github.scopt" %% "scopt" % "4.0.0-RC2",
),
Compile / run / fork := true,
Compile / run / baseDirectory := (ThisBuild / baseDirectory).value,
)