30 lines
572 B
Bash
Executable file
30 lines
572 B
Bash
Executable file
#!/bin/bash
|
|
cd "$(dirname "$0")"
|
|
|
|
build_commit="$(git rev-parse --short HEAD)"
|
|
echo "BUILD: str = \"$build_commit\"" > ../build.py
|
|
|
|
python3 -m venv ../venv
|
|
source ../venv/bin/activate
|
|
|
|
pip3 install -r requirements.txt
|
|
pip3 install -r requirements-macos.txt
|
|
pip3 install -e ..\
|
|
|
|
python3 ./generate-build-exe-config.py
|
|
|
|
python3 ./build-exe.py
|
|
|
|
bash ./build-exe-pyinstaller-command.sh
|
|
|
|
rm ./*.spec
|
|
|
|
cd ../
|
|
python3 build/generate-platypus-config.py
|
|
cd build
|
|
|
|
brew install platypus
|
|
|
|
platypus --load-profile ./BAPSicle.platypus --overwrite ./output/BAPSicle.app
|
|
|
|
rm ../build.py
|