From 691e457e6871c4f430555e66fdc864a1572b05bd Mon Sep 17 00:00:00 2001 From: Mathieu Ancelin Date: Tue, 21 Nov 2023 13:46:39 +0100 Subject: [PATCH] Add publishing --- build.sbt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index b9cff20..7d1e237 100644 --- a/build.sbt +++ b/build.sbt @@ -75,6 +75,12 @@ lazy val root = (project in file(".")) ), ) -Compile / packageBin := (uberJar / assembly).value +assembly / artifact := { + val art = (assembly / artifact).value + art.withClassifier(Some("assembly")) +} + +addArtifact(assembly / artifact, assembly) + assembly / test := {} assembly / assemblyJarName := s"wasm4s-bundle_${scalaVersion.value.split("\\.").init.mkString(".")}-${version.value}.jar"