diff options
author | Jakob Odersky <jodersky@gmail.com> | 2015-03-20 12:07:41 +0100 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2015-03-20 12:07:41 +0100 |
commit | 3147aba7dc79e64d2da50d7d1c705bfd0e99eeca (patch) | |
tree | 6c0babfa3e227e3407a0fe250059724f303ad08a /project | |
parent | 1cf6e37dc356144f3da2a2dcde75d1ced8bc5ad6 (diff) | |
download | sbt-mavlink-3147aba7dc79e64d2da50d7d1c705bfd0e99eeca.tar.gz sbt-mavlink-3147aba7dc79e64d2da50d7d1c705bfd0e99eeca.tar.bz2 sbt-mavlink-3147aba7dc79e64d2da50d7d1c705bfd0e99eeca.zip |
implement testing
Diffstat (limited to 'project')
-rw-r--r-- | project/Build.scala | 9 | ||||
-rw-r--r-- | project/scripted.sbt | 3 | ||||
-rw-r--r-- | project/twirl.sbt (renamed from project/plugins.sbt) | 0 |
3 files changed, 11 insertions, 1 deletions
diff --git a/project/Build.scala b/project/Build.scala index ddf108e..c0c4f4e 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -2,6 +2,7 @@ import sbt._ import sbt.Keys._ import play.twirl.sbt.SbtTwirl import play.twirl.sbt.Import._ +import sbt.ScriptedPlugin._ object ApplicationBuild extends Build { @@ -31,9 +32,15 @@ object ApplicationBuild extends Build { lazy val plugin = ( Project("mavlink-plugin", file("mavlink-plugin")) settings(common: _*) + settings(ScriptedPlugin.scriptedSettings: _*) settings( sbtPlugin := true, - name := "sbt-mavlink" + name := "sbt-mavlink", + scriptedLaunchOpts := { scriptedLaunchOpts.value ++ + Seq("-Xmx1024M", "-XX:MaxPermSize=256M", "-Dplugin.version=" + version.value) + }, + scriptedBufferLog := false, + publishLocal <<= publishLocal.dependsOn(publishLocal in library) ) dependsOn(library) ) diff --git a/project/scripted.sbt b/project/scripted.sbt new file mode 100644 index 0000000..c3b4f97 --- /dev/null +++ b/project/scripted.sbt @@ -0,0 +1,3 @@ +libraryDependencies <+= (sbtVersion) { sv => + "org.scala-sbt" % "scripted-plugin" % sv +}
\ No newline at end of file diff --git a/project/plugins.sbt b/project/twirl.sbt index 7b458b6..7b458b6 100644 --- a/project/plugins.sbt +++ b/project/twirl.sbt |