From 8bc4572ae365747319e895763718f72a140f6be5 Mon Sep 17 00:00:00 2001 From: Stefan Stefanov Date: Sat, 10 Feb 2024 18:16:46 +0200 Subject: [PATCH] Update makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 25efb0d..af59bf0 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,12 @@ build_release: clean odin build . -out:${BIN_FOLDER}/${EXE}_rel.exe -o:speed -subsystem:windows clean: - rm -rf ${BIN_FOLDER}/${EXE}.* - rm -rf ${BIN_FOLDER}/${EXE}_rel.* + rm -rf ${BIN_FOLDER}/* package: build_release rm -rf ${BIN_FOLDER}/${REL_FOLDER} 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 + cd ${BIN_FOLDER} \ + && tar.exe -a -c -f ${REL_FOLDER}.zip ${REL_FOLDER}