Skip to content

Commit

Permalink
Use a hidden dir for root project aggregate just as for other aggrega…
Browse files Browse the repository at this point in the history
…tes, instead of using `file(".")`
  • Loading branch information
neko-kai committed Aug 21, 2024
1 parent b52014f commit 96bea24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sbtgen/src/main/scala/izumi/sbtgen/Renderer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class Renderer(
case Some(x) =>
Seq(".agg", ".agg-" + x.toLowerCase)
case None =>
Seq(".")
Seq(".agg", ".agg-root-project")
}

val aggregatedIds = group.filterNot(_.dontIncludeInSuperAgg).map(a => renderName(a.id))
Expand Down
2 changes: 1 addition & 1 deletion test/js/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5678,7 +5678,7 @@ lazy val `izumi-js` = (project in file(".agg/.agg-js"))
`idealingua-js`
)

lazy val `izumi` = (project in file("."))
lazy val `izumi` = (project in file(".agg/.agg-root-project"))
.settings(
publish / skip := true,
Global / onChangedBuildSource := ReloadOnSourceChanges,
Expand Down
2 changes: 1 addition & 1 deletion test/js/dotty/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ lazy val `test-dotty-js` = (project in file(".agg/.agg-js"))
`test-agg-js`
)

lazy val `test-dotty` = (project in file("."))
lazy val `test-dotty` = (project in file(".agg/.agg-root-project"))
.settings(
publish / skip := true
)
Expand Down
2 changes: 1 addition & 1 deletion test/jvm/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5682,7 +5682,7 @@ lazy val `izumi-jvm` = (project in file(".agg/.agg-jvm"))
`idealingua-jvm`
)

lazy val `izumi` = (project in file("."))
lazy val `izumi` = (project in file(".agg/.agg-root-project"))
.settings(
publish / skip := true,
Global / onChangedBuildSource := ReloadOnSourceChanges,
Expand Down
2 changes: 1 addition & 1 deletion test/jvm/dotty/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ lazy val `test-dotty-jvm` = (project in file(".agg/.agg-jvm"))
`test-agg-jvm`
)

lazy val `test-dotty` = (project in file("."))
lazy val `test-dotty` = (project in file(".agg/.agg-root-project"))
.settings(
publish / skip := true
)
Expand Down

0 comments on commit 96bea24

Please sign in to comment.