updated build system

This commit is contained in:
2024-07-09 13:12:02 -05:00
parent 097507a2d9
commit 0c414fc8a6
3 changed files with 14 additions and 8 deletions

View File

@ -1,14 +1,16 @@
#!/bin/bash
PROJECT_VERSION=$1
DEST_DIR=$(realpath $2)
TEMP_DIR=$(mktemp -d)
CURRENT_DIR=$(dirname "$0")
CURRENT_DIR=$(realpath ${CURRENT_DIR})
. "${CURRENT_DIR}/env.sh" "$3" "$4" "$5" "$6" "$7"
TEMP_DIR=$(mktemp -d)
if [ -f "../dist/version.sh" ]; then
source ../dist/version.sh
fi
function exit_and_clean() {
echo $1