-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
35 lines (27 loc) · 1.12 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
lazy val commonSettings = Seq(
organization := "feh.phtpe",
crossScalaVersions := Seq("2.11.5"),
scalaVersion := crossScalaVersions.value.head,
scalacOptions in (Compile, doc) ++= Seq("-diagrams", "-diagrams-max-classes", "50", "-diagrams-max-implicits", "20"),
resolvers += "Fehu's github repo" at "http://fehu.github.io/repo"
)
lazy val root = project.in(file("."))
.settings(commonSettings: _*)
.settings(sbtunidoc.Plugin.unidocSettings: _*)
.settings(publishArtifact := false)
.aggregate(typing, vectors)
lazy val typing = project.in(file("phtpe"))
.settings(commonSettings: _*)
.settings(testSettings: _*)
lazy val vectors = project.in(file("vectors"))
.settings(commonSettings: _*)
.settings(testSettings: _*)
.dependsOn(typing)
// Test Settings
import feh.util.TestReportsCopy
lazy val testSettings = TestReportsCopy.settings ++ Seq(
libraryDependencies += "org.specs2" %% "specs2" % "2.4.15" % "test",
resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases",
TestReportsCopy.copyTestReportsDir := Some(file("./test-reports")),
TestReportsCopy.autoAddReportsToGit := true
)