Skip to content

Commit 6661a22

Browse files
authored
Merge pull request VirtusLab#2005 from romanowski/bootstrapped-on-mv-central
Publish to maven central a bootstrapped jar
2 parents 82e6387 + 98e6c0a commit 6661a22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ implicit def millModuleBasePath: define.BasePath =
4040

4141
object cli extends Cli
4242

43+
// Publish a bootstrapped, executable jar for a restricted environments
44+
object cliBootstrapped extends ScalaCliPublishModule {
45+
override def jar = cli.assembly()
46+
}
47+
4348
object `specification-level` extends Cross[SpecificationLevel](Scala.all: _*)
4449
object `build-macros` extends BuildMacros
4550
object config extends Cross[Config](Scala.all: _*)

0 commit comments

Comments
 (0)