mirror of https://github.com/sbt/sbt.git
Initial Import for sbt-template (autogenerated by sbt-setup).
This commit is contained in:
commit
863073d57a
|
|
@ -0,0 +1,5 @@
|
|||
target
|
||||
/project/boot
|
||||
lib_managed
|
||||
src_managed
|
||||
/ext
|
||||
|
|
@ -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
|
||||
|
|
@ -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()
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
package template
|
||||
|
||||
object Main {
|
||||
def main(args: Array[String]): Unit = {
|
||||
// Your code here
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
package template
|
||||
|
||||
import org.specs._
|
||||
|
||||
class SendSpec extends Specification {
|
||||
"A template project" should {
|
||||
"not violate universal realities" >> {
|
||||
1 mustEqual 1
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue