Ready for first release
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
./gradlew :clients:cli:shadowJar
|
||||
./gradlew :clients:compose:createDistributable
|
||||
./gradlew :clients:compose:wasmJsBrowserProductionWebpack
|
||||
./gradlew :server:installDist
|
||||
|
||||
mkdir -p artifacts
|
||||
cp clients/cli/build/libs/phoebench-cli.jar artifacts/
|
||||
|
||||
(cd clients/compose/build/compose/binaries/main/app/com.jaytux.phoebench.clients && zip phoebench-linux.zip -r bin/ lib/)
|
||||
cp clients/compose/build/compose/binaries/main/app/com.jaytux.phoebench.clients/phoebench-linux.zip artifacts/
|
||||
|
||||
mkdir -p artifacts/wasm
|
||||
cp clients/compose/build/kotlin-webpack/wasmJs/productionExecutable/* clients/compose/src/wasmJsMain/resources/* artifacts/wasm
|
||||
(cd artifacts/wasm && zip phoebench-wasm.zip -r ./*)
|
||||
mv artifacts/wasm/phoebench-wasm.zip artifacts/
|
||||
rm -fr artifacts/wasm
|
||||
|
||||
(cd server/build/install/server/ && zip phoebench-server.zip -r bin/ lib/)
|
||||
cp server/build/install/server/phoebench-server.zip artifacts
|
||||
Reference in New Issue
Block a user