Skip to content

Commit

Permalink
Merge pull request #15 from francisdb/master
Browse files Browse the repository at this point in the history
set up sbt build
  • Loading branch information
danielkorzekwa committed Feb 26, 2015
2 parents bb8dd83 + 64c245d commit 9d1a323
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/target
/project/target
/.classpath
/.project
/.cache
/.settings

# intellij idea
*.iml
.idea
25 changes: 25 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
lazy val root = (project in file(".")).
settings(
name := "bayes-scala",
organization := "dk.bayes",
version := "0.5-SNAPSHOT",
scalaVersion := "2.10.4",
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-encoding", "UTF-8", // yes, this is 2 args
"-unchecked",
"-Xfuture"
//"-Ywarn-unused-import" // 2.11 only
),
crossScalaVersions := Seq("2.10.4", "2.11.5"),
libraryDependencies ++= Seq(
"com.googlecode.efficient-java-matrix-library" % "ejml" % "0.20",
"org.apache.commons" % "commons-math3" % "3.3",
"com.typesafe" %% "scalalogging-slf4j" % "1.0.1",
"org.scalanlp" %% "breeze" % "0.10",
// test scoped
"org.slf4j" % "slf4j-log4j12" % "1.7.2" % Test,
"com.novocode" % "junit-interface" % "0.11" % Test
)
)
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.13.5

0 comments on commit 9d1a323

Please sign in to comment.