1
0

add sbt pack plugin (#197)

This commit is contained in:
Howard Mao 2016-08-08 19:31:03 -07:00 committed by Andrew Waterman
parent dd1fed41b6
commit 2a5aeeae24
2 changed files with 4 additions and 1 deletions

View File

@ -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")

View File

@ -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")