Permalink
Browse files

use sbt to do builds.

  • Loading branch information...
1 parent 8532fb3 commit 3ce9a9b880fa6cf336b128e34f747694dadd6299 Robey Pointer committed Jul 8, 2010
Showing with 49 additions and 2 deletions.
  1. +7 −2 .gitignore
  2. +8 −0 project/build.properties
  3. +28 −0 project/build/NaggatiProject.scala
  4. +6 −0 project/plugins/Plugins.scala
View
@@ -1,4 +1,9 @@
target
dist
-tomservo.tmproj
-
+naggati.tmproj
+lib_managed/
+project/boot/
+project/plugins/target
+project/plugins/lib_managed/
+project/plugins/project/
+project/plugins/src_managed/
View
@@ -0,0 +1,8 @@
+#Project properties
+project.organization=net.lag
+project.name=naggati
+sbt.version=0.7.3
+project.version=0.7.2
+def.scala.version=2.7.7
+build.scala.versions=2.7.7
+project.initialize=false
@@ -0,0 +1,28 @@
+import sbt._
+import com.twitter.sbt.StandardProject
+
+
+class NaggatiProject(info: ProjectInfo) extends StandardProject(info) {
+ val specs = "org.scala-tools.testing" % "specs" % "1.6.2.1"
+ val xrayspecs = "com.twitter" % "xrayspecs" % "1.0.7"
+ val vscaladoc = "org.scala-tools" % "vscaladoc" % "1.1-md-3"
+
+ val configgy = "net.lag" % "configgy" % "1.5.3"
+ val mina = "org.apache.mina" % "mina-core" % "2.0.0-M6"
+ val slf4j_api = "org.slf4j" % "slf4j-api" % "1.5.2"
+ val slf4j_jdk14 = "org.slf4j" % "slf4j-jdk14" % "1.5.2"
+
+ override def pomExtra =
+ <licenses>
+ <license>
+ <name>Apache 2</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ override def releaseBuild = true
+
+ Credentials(Path.userHome / ".ivy2" / "credentials", log)
+ val publishTo = "nexus" at "http://nexus.scala-tools.org/content/repositories/releases/"
+}
@@ -0,0 +1,6 @@
+import sbt._
+
+class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
+ val twitterNest = "com.twitter" at "http://www.lag.net/nest"
+ val defaultProject = "com.twitter" % "standard-project" % "0.5.10"
+}

0 comments on commit 3ce9a9b

Please sign in to comment.