-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
38 lines (30 loc) · 1.13 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
organization := "edu.umass.ciir"
name := "julien"
version := "0.1"
scalaVersion := "2.10.1"
resolvers ++= Seq( // "Galago" at "http://ayr.cs.umass.edu/m2/repository",
"SCM CIIR" at "http://scm-ciir.cs.umass.edu/maven",
"Mvn Repo" at "http://repo1.maven.org/maven2"
)
libraryDependencies ++= Seq(
"org.apache.commons" % "commons-compress" % "1.0",
"edu.umass.ciir" % "macros" % "0.1",
"org.antlr" % "antlr4-runtime" % "4.0",
"julien.galago" % "core" % "3.3",
"julien.galago" % "tupleflow" % "3.3",
"julien.galago" % "tupleflow-typebuilder" % "3.3"
)
excludeFilter in Compile := new SimpleFilter(s =>
s.contains("learning") ||
s.contains("garage") ||
s == "test.scala" ||
s == "buildindex.scala"
)
scalacOptions in (Compile, doc) ++=
Opts.doc.sourceUrl("https://github.com/CIIR/julien/tree/master/src/main/scala/€{FILE_PATH}.scala") ++
Opts.doc.title("Julien") ++
Seq("-d", "/var/www/julien-docs/julien")
doc in Compile <<= (doc in Compile) map { in =>
Seq("bash","-c",""" for x in $(find target/scala-2.10/api/ -type f); do sed -i "s_/usr/ayr/tmp1/irmarc/projects/thesis/code/julien/src/main/scala/__" $x; done """).!
in
}