updated build script, added bugged alien shooting

This commit is contained in:
Stefan Stefanov 2024-02-10 17:45:45 +02:00
parent 02ca71ec5f
commit d21ccf3dc8
3 changed files with 51 additions and 13 deletions

View file

@ -4,10 +4,10 @@ DEB_FOLDER=debug_x64_win
BIN_FOLDER=./bin
build: clean
odin run . -out:bin/${EXE}.exe -debug
odin build . -out:${BIN_FOLDER}/${EXE}.exe -debug
build_release: clean
odin build . -out:bin/${EXE}_rel.exe -o:speed -subsystem:windows
odin build . -out:${BIN_FOLDER}/${EXE}_rel.exe -o:speed -subsystem:windows
clean:
rm -rf ${BIN_FOLDER}/${EXE}.*
@ -18,6 +18,11 @@ package: build_release
mkdir ${BIN_FOLDER}/${REL_FOLDER}
cp -r ./assets/ ${BIN_FOLDER}/${REL_FOLDER}/
cp ${BIN_FOLDER}/${EXE}_rel.exe ${BIN_FOLDER}/${REL_FOLDER}/${EXE}.exe
tar.exe -a -c -f ${BIN_FOLDER}/release_x64_win.zip ${BIN_FOLDER}/release_x64_win
run: build
${BIN_FOLDER}/${EXE}.exe
run_rel: build_release
${BIN_FOLDER}/${EXE}_rel.exe
run:
space_invaders.exe