From 70271cd8c3811cb518e81d1d5eb3ed20cb1e2063 Mon Sep 17 00:00:00 2001 From: chick Date: Wed, 18 May 2016 10:10:50 -0700 Subject: Add a hack to build.sbt to allow local publishing --- build.sbt | 6 ++++++ 1 file changed, 6 insertions(+) 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) + -- cgit v1.2.3 From 807184b08968e3c84abf21311e082151267b983b Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Fri, 3 Jun 2016 12:40:44 -0700 Subject: Update publishing dependencies Until we sort out how to include the subproject classes in a single jar file, we need to explicitly publish all subprojects. --- build.sbt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 900cb5c6..b9950b6f 100644 --- a/build.sbt +++ b/build.sbt @@ -106,7 +106,6 @@ lazy val chisel = (project in file(".")). ) // This is ugly. There must be a better way. -publish <<= (publish) dependsOn (publish in chiselFrontend) - -publishLocal <<= (publishLocal) dependsOn (publishLocal in chiselFrontend) +publish <<= (publish) dependsOn (publish in coreMacros, publish in chiselFrontend) +publishLocal <<= (publishLocal) dependsOn (publishLocal in coreMacros, publishLocal in chiselFrontend) -- cgit v1.2.3