Added basic binary plugin test

git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@870 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
dmharrah 2009-07-16 16:11:30 +00:00
parent 8067eb42d5
commit 066e5588c7
4 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,2 @@
project.version=1.0
project.name=Plugins Test

View File

@ -0,0 +1,7 @@
import sbt._
class UsePlugin(info: ProjectInfo) extends DefaultProject(info)
{
import antlr.Tool // verify that antlr is on compile classpath
lazy val check = task { Class.forName("antlr.Tool"); None } // verify antlr is on runtime classpath
}

View File

@ -0,0 +1,5 @@
import sbt._
class Plugins(info: ProjectInfo) extends PluginDefinition(info)
{
val a = "antlr" % "antlr" % "2.7.7"
}

View File

@ -0,0 +1,2 @@
> check
[success]