mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-16 23:55:51 +01:00
Add windows source files to build (#166)
This commit is contained in:
parent
b5d22a2fed
commit
7956ce528d
2 changed files with 7 additions and 6 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
poetry run make bundle_mac
|
||||
elif [ "$RUNNER_OS" == "Windows" ]; then
|
||||
poetry run make dist/Buzz.exe
|
||||
poetry run make dist/Buzz.exe dist/Buzz-windows.exe
|
||||
elif [ "$RUNNER_OS" == "Linux" ]; then
|
||||
poetry run make bundle_linux
|
||||
fi
|
||||
|
|
|
|||
11
Makefile
11
Makefile
|
|
@ -1,5 +1,4 @@
|
|||
version := $$(poetry version -s)
|
||||
version_escaped := $$(echo ${version} | sed -e 's/\./\\./g')
|
||||
|
||||
mac_app_path := ./dist/Buzz.app
|
||||
mac_zip_path := ./dist/Buzz-${version}-mac.zip
|
||||
|
|
@ -15,10 +14,13 @@ bundle_linux: dist/Buzz
|
|||
dist/Buzz.exe: dist/Buzz
|
||||
iscc //DAppVersion=${version} installer.iss
|
||||
|
||||
bundle_mac: dist/Buzz
|
||||
dist/Buzz-windows.exe: dist/Buzz
|
||||
cd dist && tar -czf ${windows_zip_path} Buzz/ && cd -
|
||||
|
||||
bundle_mac: dist/Buzz.app
|
||||
make zip_mac
|
||||
|
||||
bundle_mac_local: dist/Buzz
|
||||
bundle_mac_local: dist/Buzz.app
|
||||
make codesign_all_mac
|
||||
make zip_mac
|
||||
make notarize_zip
|
||||
|
|
@ -46,13 +48,12 @@ clean:
|
|||
test: whisper_cpp.py
|
||||
pytest --cov
|
||||
|
||||
dist/Buzz: whisper_cpp.py
|
||||
dist/Buzz dist/Buzz.app: whisper_cpp.py
|
||||
pyinstaller --noconfirm Buzz.spec
|
||||
|
||||
version:
|
||||
poetry version ${version}
|
||||
echo "VERSION = \"${version}\"" > __version__.py
|
||||
sed -i "s/version=.*,/version=\'${version_escaped}\',/" Buzz.spec
|
||||
|
||||
CMAKE_FLAGS=
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue