-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.sbt
More file actions
37 lines (27 loc) · 1010 Bytes
/
build.sbt
File metadata and controls
37 lines (27 loc) · 1010 Bytes
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
name := "Parsing papers"
version := "1.0"
scalaVersion := "2.9.2"
scalaSource in Compile <<= baseDirectory(_ / "src/paper")
scalacOptions ++= Seq("-unchecked", "-Ywarn-dead-code", "-deprecation")
libraryDependencies ++= Seq(
// other dependencies here
// pick and choose:
"org.scalanlp" %% "breeze-process" % "0.1"
)
resolvers ++= Seq(
// other resolvers here
// if you want to use snapshot builds (currently 0.2-SNAPSHOT), use this.
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)
initialCommands := """
import System.{currentTimeMillis => now}
def time[T](f: => T): T = {
val start = now
try { f } finally { println("Elapsed: " + (now - start)/1000.0 + " s") }
}
"""
// The main class
mainClass in (Compile, run) := Some("paper.Analyze")
// The sources to be watched
//watchSources <+= baseDirectory map { _ / "lexer" }
//watchSources <+= baseDirectory map { _ / "parser" }