Added Build Script

This commit is contained in:
2026-01-15 15:24:01 +01:00
parent 4c9f44d454
commit aceab400ec
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
target/

12
build.sh Executable file
View File

@@ -0,0 +1,12 @@
#! /bin/bash
VERSION=$(cat version.txt | tr -d '\n')
PREVIEW_VERSION="${VERSION}-preview"
echo "Removing Target Folder"
rm -rf target/
echo "Creating Pack..."
mkdir target
cd pack
zip -r ../target/CheapDesign-${PREVIEW_VERSION}.zip .
cd ..
cp target/CheapDesign-${PREVIEW_VERSION}.zip target/CheapMC-${PREVIEW_VERSION}.zip