-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
69 lines (45 loc) · 2.06 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import net.ceedubs.sbtctags.CtagsKeys
packSettings
instrumentSettings
coverallsSettings
seq(Revolver.settings: _*)
name := "Tuner"
version := "0.10.2"
scalaVersion := "2.10.4"
libraryDependencies ++= Seq(
"com.tomtorsneyweir" %% "datescala" % "0.9",
"net.liftweb" %% "lift-json" % "2.5",
"tablelayout" % "TableLayout" % "20050920",
"org.prefuse" % "prefuse" % "beta-20060220",
"org.scalacheck" %% "scalacheck" % "1.10.0" % "test",
"org.scalatest" %% "scalatest" % "2.0.M8" % "test",
"org.scalanlp" %% "breeze" % "0.9",
"com.typesafe.akka" %% "akka-actor" % "2.2.1",
"org.jogamp.gluegen" % "gluegen-rt-main" % "2.0.2",
"org.jogamp.jogl" % "jogl-all-main" % "2.0.2",
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.slf4j" % "slf4j-simple" % "1.7.7",
"org.japura" % "japura" % "1.18.3"
)
libraryDependencies <<= (scalaVersion, libraryDependencies) {(sv, deps) =>
deps :+ ("org.scala-lang" % "scala-swing" % sv)
}
// set the documentation config
apiURL := Some(url("http://gabysbrain.github.io/tuner/api"))
target in Compile in doc := baseDirectory.value / "doc" / "site" / "app" / "api"
scalacOptions in (Compile, doc) := Seq("-deprecation", "-unchecked",
"-groups", "-implicits")
autoAPIMappings := true
CtagsKeys.ctagsParams ~= (default => default.copy(tagFileName = "tags"))
javacOptions := Seq("-Xlint:deprecation")
// Packaging settings
packMain := Map("tuner" -> "tuner.Tuner")
packJvmOpts := Map("tuner" -> Seq("-Xmx1G", "-Dcom.github.fommil.netlib.BLAS=com.github.fommil.netlib.F2jBLAS", "-Dcom.github.fommil.netlib.LAPACK=com.github.fommil.netlib.F2jLAPACK", "-Dcom.github.fommil.netlib.ARPACK=com.github.fommil.netlib.F2jARPACK"))
javaOptions := packJvmOpts.value("tuner")
fork := true
outputStrategy := Some(StdoutOutput)
parallelExecution := false
mainClass := Some(packMain.value("tuner"))
// functional tests are really slow
// plus they break the rest of the tests right now
testOptions in Test := Seq(Tests.Filter(s => !s.startsWith("tuner.test.functional")), Tests.Argument("-oDF"))