diff --git a/Makefile b/Makefile index 9ad7601..acfaab7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -build: +build: clean misc/script/build +clean: + rm -rf bin + .PHONY: build \ No newline at end of file diff --git a/misc/script/build b/misc/script/build index 5722856..1b6d631 100755 --- a/misc/script/build +++ b/misc/script/build @@ -18,4 +18,4 @@ do fi done -(cd bin && sha256sum *.{tar.gz,zip} > werther_checksums.txt) \ No newline at end of file +(cd bin && sha256sum *.{tar.gz,zip} > werther_checksums.txt || exit 0) \ No newline at end of file