forked from dbis-ilm/piglet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
40 lines (25 loc) · 1.06 KB
/
build.sbt
File metadata and controls
40 lines (25 loc) · 1.06 KB
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
import sbt.Keys._
import sbt._
name := "Piglet"
libraryDependencies ++= Dependencies.rootDeps
libraryDependencies ++= itDeps
mainClass in (Compile, packageBin) := Some("dbis.pig.PigletREPL")
mainClass in (Compile, run) := Some("dbis.pig.Piglet")
assemblyJarName in assembly := "PigCompiler.jar"
mainClass in assembly := Some("dbis.pig.Piglet")
test in assembly := {}
parallelExecution in ThisBuild := false
// needed for serialization/deserialization
fork in Test := true
// enable for debug support in eclipse
//javaOptions in (Test) += "-Xdebug"
//javaOptions in (Test) += "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"
fork in IntegrationTest := false
// scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature","-Ylog-classpath")
// run only those it tests, that are available for the selected backend
testOptions in IntegrationTest := Seq(
Tests.Filter(s => itTests.contains(s)),
Tests.Argument("-oDF")
)
sourcesInBase := false
EclipseKeys.skipParents in ThisBuild := false // to enable piglet (parent not only children) eclispe import