Append python3

This commit is contained in:
Carl-Y 2024-02-29 22:38:56 +08:00
parent d4e49f45b4
commit 56eb412dbc
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
git submodule init && git submodule update
brew install sdl2
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit
./waf configure -T debug --disable-warns $* &&
python3 ./waf configure -T debug --disable-warns $* &&
./waf build

View File

@ -1,7 +1,7 @@
#!/bin/sh
git submodule init && git submodule update
./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
./waf install &&
python3 ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
python3 ./waf install &&
cd out &&
DYLD_LIBRARY_PATH=bin/ ./unittest || exit 1