add sbt pack plugin (#197)
This commit is contained in:
parent
dd1fed41b6
commit
2a5aeeae24
@ -2,6 +2,7 @@ import sbt._
|
|||||||
import Keys._
|
import Keys._
|
||||||
import complete._
|
import complete._
|
||||||
import complete.DefaultParsers._
|
import complete.DefaultParsers._
|
||||||
|
import xerial.sbt.Pack._
|
||||||
|
|
||||||
object BuildSettings extends Build {
|
object BuildSettings extends Build {
|
||||||
|
|
||||||
@ -28,7 +29,7 @@ object BuildSettings extends Build {
|
|||||||
lazy val make = inputKey[Unit]("trigger backend-specific makefile command")
|
lazy val make = inputKey[Unit]("trigger backend-specific makefile command")
|
||||||
val setMake = NotSpace ~ ( Space ~> NotSpace )
|
val setMake = NotSpace ~ ( Space ~> NotSpace )
|
||||||
|
|
||||||
val chipSettings = Seq(
|
val chipSettings = packAutoSettings ++ Seq(
|
||||||
addons := {
|
addons := {
|
||||||
val a = sys.env.getOrElse("ROCKETCHIP_ADDONS", "")
|
val a = sys.env.getOrElse("ROCKETCHIP_ADDONS", "")
|
||||||
println(s"Using addons: $a")
|
println(s"Using addons: $a")
|
||||||
|
@ -5,3 +5,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.3")
|
|||||||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.8.1")
|
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.8.1")
|
||||||
|
|
||||||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.5.0")
|
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.5.0")
|
||||||
|
|
||||||
|
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.8.0")
|
||||||
|
Loading…
Reference in New Issue
Block a user