summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchick2016-05-18 10:10:50 -0700
committerchick2016-05-18 10:10:50 -0700
commit70271cd8c3811cb518e81d1d5eb3ed20cb1e2063 (patch)
treef57705cfa8840d3d16d96642249aabc5d1f19e65
parenta26a0ad4504e99182e3548db8f407c3dad7302b0 (diff)
Add a hack to build.sbt to allow local publishing
-rw-r--r--build.sbt6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index 06a73d88..284a9621 100644
--- a/build.sbt
+++ b/build.sbt
@@ -93,3 +93,9 @@ lazy val chisel = (project in file(".")).
mappings in (Compile, packageBin) <++= mappings in (chiselFrontend, Compile, packageBin),
mappings in (Compile, packageSrc) <++= mappings in (chiselFrontend, Compile, packageSrc)
)
+
+// This is ugly. There must be a better way.
+publish <<= (publish) dependsOn (publish in chiselFrontend)
+
+publishLocal <<= (publishLocal) dependsOn (publishLocal in chiselFrontend)
+