testing release system

This commit is contained in:
Joey Eamigh
2023-06-21 17:15:18 -04:00
parent 89262da6d3
commit 03dca844cb
9 changed files with 182 additions and 25 deletions

20
client/client.sh Normal file → Executable file
View File

@@ -12,11 +12,23 @@ if ! [ -x "$(command -v java)" ]; then
exit 1
fi
if [ -d .venv ]; then; else python -m venv .venv; fi
# check that git is installed
if ! [ -x "$(command -v git)" ]; then
echo 'Error: git is not installed. Please install it to continue.' >&2
exit 1
fi
source .venv/bin/activate
# check that git is installed
if ! [ -x "$(command -v multimc)" ]; then
echo 'Error: multimc is not installed. Please install it to continue.' >&2
exit 1
fi
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
if ! [ -d .venv ]; then python -m venv .venv; fi
source .venv/bin/activate &>/dev/null
python -m pip install --upgrade pip &>/dev/null
python -m pip install -r requirements.txt &>/dev/null
python ./client.py