Initial Import for sbt-template (autogenerated by sbt-setup).

This commit is contained in:
Paul Phillips 2011-02-14 10:10:07 -08:00
commit 863073d57a
6 changed files with 50 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
target
/project/boot
lib_managed
src_managed
/ext

1
README Normal file
View File

@ -0,0 +1 @@
This is a skeleton project for sbt.

8
project/build.properties Normal file
View File

@ -0,0 +1,8 @@
#Project properties
#Generated by sbt-setup
project.organization=improving
project.name=sbt-template
sbt.version=0.7.4
project.version=0.1
build.scala.versions=2.8.1
project.initialize=false

View File

@ -0,0 +1,18 @@
import sbt._
class SbtTemplateProject(info: ProjectInfo) extends DefaultProject(info) {
val localMaven = "Local Maven" at "file://"+Path.userHome+"/.m2/repository"
val localIvy = "Local Ivy" at "file://"+Path.userHome+"/.ivy2/local"
val sonatype = "Sonatype" at "https://oss.sonatype.org/content/groups/public"
// local use
override def localScala = System.getenv("scala.local") match {
case null => super.localScala
case path =>
log.info("Found scala.local: " + path)
List(defineScala("2.9.0-local", new java.io.File(path)))
}
val scalacheck = "org.scala-tools.testing" %% "scalacheck" % "1.8" % "test" withSources()
val specs = "org.scala-tools.testing" %% "specs" % "1.6.7" % "test" withSources()
}

View File

@ -0,0 +1,7 @@
package template
object Main {
def main(args: Array[String]): Unit = {
// Your code here
}
}

View File

@ -0,0 +1,11 @@
package template
import org.specs._
class SendSpec extends Specification {
"A template project" should {
"not violate universal realities" >> {
1 mustEqual 1
}
}
}