testing release system
This commit is contained in:
20
client/client.sh
Normal file → Executable file
20
client/client.sh
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user