summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJim Lawson2016-06-03 13:46:55 -0700
committerJim Lawson2016-06-03 13:46:55 -0700
commit63fe683c079ef64b40fee5cca45784b83bb812bc (patch)
tree334f3008e96ca8c2c18a68d3029478f84e1d9994 /build.sbt
parentfd53af8642237998e23456a3fd1648ac84607db0 (diff)
parent807184b08968e3c84abf21311e082151267b983b (diff)
Merge pull request #194 from ucb-bar/front_end_dependency
Add a hack to build.sbt to allow local publishing We're merging this despite the failing tests (Jenkins ghprb isn't communicating with GitHub following security and authentication updates). We'd prefer to package all the sbt subprojects in a single jar, but current attempts to do so fail. See #208.
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index be039872..b9950b6f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -104,3 +104,8 @@ 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 coreMacros, publish in chiselFrontend)
+
+publishLocal <<= (publishLocal) dependsOn (publishLocal in coreMacros, publishLocal in chiselFrontend)