Skip to content

Commit

Permalink
Made some targets non-private
Browse files Browse the repository at this point in the history
This not only makes them accessible from the CLI, it also fixes an issue with Mill 0.11.{2-5}.

See com-lihaoyi/mill#2844
  • Loading branch information
lefou committed Nov 18, 2023
1 parent 1cc90c1 commit ba31259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ trait ScalaJsCliPublishModule extends PublishModule {
finalPublishVersion()
}

private def computePublishVersion(state: VcsState, simple: Boolean): String =
def computePublishVersion(state: VcsState, simple: Boolean): String =
if (state.commitsSinceLastTag > 0)
if (simple) {
val versionOrEmpty = state.lastTag
Expand Down Expand Up @@ -268,7 +268,7 @@ private def computePublishVersion(state: VcsState, simple: Boolean): String =
.getOrElse(state.format())
.stripPrefix("v")

private def finalPublishVersion = {
def finalPublishVersion = {
val isCI = System.getenv("CI") != null
if (isCI)
T.persistent {
Expand Down

0 comments on commit ba31259

Please sign in to comment.