aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-12-19 15:59:07 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-02-10 15:10:31 +0100
commit0280306d7fb9e78a57f5e1c4848bfbbbba3847d9 (patch)
treebfdf9b54d10fe6800a9020e06ab243b0f1e9553b
parent25e09861e097b8db659ba1fc2d103e540db86a22 (diff)
downloaddotty-0280306d7fb9e78a57f5e1c4848bfbbbba3847d9.tar.gz
dotty-0280306d7fb9e78a57f5e1c4848bfbbbba3847d9.tar.bz2
dotty-0280306d7fb9e78a57f5e1c4848bfbbbba3847d9.zip
Add SBT build, .gitignore.
-rw-r--r--build.sbt13
-rw-r--r--gitignore.SAMPLE5
-rw-r--r--project/build.properties1
-rw-r--r--project/plugins.sbt3
4 files changed, 22 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
new file mode 100644
index 000000000..8e84bd19c
--- /dev/null
+++ b/build.sbt
@@ -0,0 +1,13 @@
+name := "dotty"
+
+organization := "lamp"
+
+scalaVersion := "2.10.0"
+
+scalaSource in Compile <<= baseDirectory / "src"
+
+scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_")
+
+libraryDependencies <+= scalaVersion ( sv => "org.scala-lang" % "scala-reflect" % sv )
+
+scalaSource in Test <<= baseDirectory / "test" \ No newline at end of file
diff --git a/gitignore.SAMPLE b/gitignore.SAMPLE
new file mode 100644
index 000000000..189e089d4
--- /dev/null
+++ b/gitignore.SAMPLE
@@ -0,0 +1,5 @@
+.idea
+.idea_modules
+.gitignore
+target
+project/local-plugins.sbt
diff --git a/project/build.properties b/project/build.properties
new file mode 100644
index 000000000..66ad72ce2
--- /dev/null
+++ b/project/build.properties
@@ -0,0 +1 @@
+sbt.version=0.12.2
diff --git a/project/plugins.sbt b/project/plugins.sbt
new file mode 100644
index 000000000..b6864b47b
--- /dev/null
+++ b/project/plugins.sbt
@@ -0,0 +1,3 @@
+// Add personal SBT plugins for IDEs, etc to `local-plugins.sbt`
+//
+// e.g. addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.1.0")