Skip to content

Commit

Permalink
add sbt pack plugin (chipsalliance#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhemao authored and aswaterman committed Aug 9, 2016
1 parent dd1fed4 commit 2a5aeea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import sbt._
import Keys._
import complete._
import complete.DefaultParsers._
import xerial.sbt.Pack._

object BuildSettings extends Build {

Expand All @@ -28,7 +29,7 @@ object BuildSettings extends Build {
lazy val make = inputKey[Unit]("trigger backend-specific makefile command")
val setMake = NotSpace ~ ( Space ~> NotSpace )

val chipSettings = Seq(
val chipSettings = packAutoSettings ++ Seq(
addons := {
val a = sys.env.getOrElse("ROCKETCHIP_ADDONS", "")
println(s"Using addons: $a")
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.8.1")

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.5.0")

addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.8.0")

0 comments on commit 2a5aeea

Please sign in to comment.