Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build/build-linux.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")"

# Get the git commit / branch and write it into build.py.
build_commit="$(git rev-parse --short HEAD)"
build_branch="$(git branch --show-current)"
echo "BUILD: str = \"$build_commit\"" > ../build.py
echo "BRANCH: str = \"$build_branch\"" >> ../build.py
echo "BUILD: str = \"$build_commit\"" >../build.py
echo "BRANCH: str = \"$build_branch\"" >>../build.py

sudo apt install libportaudio2
sudo apt install python3-pip python3-venv ffmpeg
Expand All @@ -29,4 +30,3 @@ bash ./build-exe-pyinstaller-command.sh
rm ./*.spec

rm ../build.py

8 changes: 4 additions & 4 deletions build/build-macos.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")"

# Get the git commit / branch and write it into build.py.
build_commit="$(git rev-parse --short HEAD)"
build_branch="$(git branch --show-current)"
echo "BUILD: str = \"$build_commit\"" > ../build.py
echo "BRANCH: str = \"$build_branch\"" >> ../build.py
echo "BUILD: str = \"$build_commit\"" >../build.py
echo "BRANCH: str = \"$build_branch\"" >>../build.py

python3 -m venv ../venv
source ../venv/bin/activate

pip3 install wheel
pip3 install -r requirements.txt
pip3 install -r requirements-macos.txt
pip3 install -e ..\

pip3 install -e ..
python3 ./generate-build-exe-config.py

python3 ./build-exe.py
Expand Down