Skip to content

Commit

Permalink
Fix SBT publication settings
Browse files Browse the repository at this point in the history
  • Loading branch information
japgolly committed Nov 5, 2016
1 parent e7b8418 commit f48d07d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ val propJVM = NyayaBuild.propJVM
val propJS = NyayaBuild.propJS
val genJVM = NyayaBuild.genJVM
val genJS = NyayaBuild.genJS
val testsJVM = NyayaBuild.testsJVM
val testsJS = NyayaBuild.testsJS
val testJVM = NyayaBuild.testJVM
val testJS = NyayaBuild.testJS
val benchmark = NyayaBuild.benchmark
18 changes: 9 additions & 9 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ object NyayaBuild {
lazy val root = (project in file("."))
.configure(commonSettings.jvm, preventPublication)
.aggregate(
utilJVM, propJVM, genJVM, testsJVM,
utilJS, propJS, genJS, testsJS,
utilJVM, propJVM, genJVM, testJVM,
utilJS, propJS, genJS, testJS,
benchmark)

lazy val utilJVM = util.jvm
Expand All @@ -95,7 +95,7 @@ object NyayaBuild {
lazy val propJS = prop.js
lazy val prop = crossProject
.in(file("prop"))
.configureCross(commonSettings)
.configureCross(commonSettings, publicationSettings)
.dependsOn(util)
.configureCross(utestSettings)
.settings(
Expand All @@ -106,7 +106,7 @@ object NyayaBuild {
lazy val genJS = gen.js
lazy val gen = crossProject
.in(file("gen"))
.configureCross(commonSettings)
.configureCross(commonSettings, publicationSettings)
.dependsOn(util)
.configureCross(utestSettings)
.settings(
Expand All @@ -117,11 +117,11 @@ object NyayaBuild {
"com.github.julien-truffaut" %%% "monocle-macro" % Ver.Monocle % "test"
))

lazy val testsJVM = tests.jvm
lazy val testsJS = tests.js
lazy val tests = crossProject
lazy val testJVM = testModule.jvm
lazy val testJS = testModule.js
lazy val testModule = crossProject
.in(file("test"))
.configureCross(commonSettings)
.configureCross(commonSettings, publicationSettings)
.dependsOn(prop, gen)
.configureCross(utestSettings)
.settings(
Expand All @@ -131,5 +131,5 @@ object NyayaBuild {
lazy val benchmark = (project in file("benchmark"))
.enablePlugins(JmhPlugin)
.configure(commonSettings.jvm, preventPublication)
.dependsOn(propJVM, genJVM, testsJVM)
.dependsOn(propJVM, genJVM, testJVM)
}

0 comments on commit f48d07d

Please sign in to comment.