From c7599a8faa9bb54bc45d4c83d4b1047482fe2464 Mon Sep 17 00:00:00 2001 From: William Petit Date: Fri, 17 Sep 2021 11:46:07 +0200 Subject: [PATCH] chore: allow build of only specific distribution without error --- Makefile | 5 ++++- misc/script/build | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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