From 98e6c0a515345bfaf6a14f2717b538829e172209 Mon Sep 17 00:00:00 2001 From: Krzysztof Romanowski Date: Wed, 5 Apr 2023 14:31:54 +0200 Subject: [PATCH] Publish to maven central a bootstrapped jar --- build.sc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sc b/build.sc index a56d94f588..12ebd87a15 100644 --- a/build.sc +++ b/build.sc @@ -40,6 +40,11 @@ implicit def millModuleBasePath: define.BasePath = object cli extends Cli +// Publish a bootstrapped, executable jar for a restricted environments +object cliBootstrapped extends ScalaCliPublishModule { + override def jar = cli.assembly() +} + object `specification-level` extends Cross[SpecificationLevel](Scala.all: _*) object `build-macros` extends BuildMacros object config extends Cross[Config](Scala.all: _*)