From 36c05376a9677442b946c654b62adf2593adb135 Mon Sep 17 00:00:00 2001 From: Nick Van Dyck Date: Sun, 23 Feb 2020 22:50:55 +0100 Subject: [PATCH] feat: generate checksums --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c3615aa..6829ed9 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,11 @@ package-all: package @mkdir -p $(ARTIFACTS) @cp $(BUILD)/publish/win-x64/$(CLI_TOOL).exe $(ARTIFACTS)/$(CLI_TOOL).win-x64.exe + @echo "" + @echo "\033[0;32mGenerate Checksums \033[0m" + @echo "\033[0;32m----------------- \033[0m" + $(MAKE) checksum + @echo "" @echo "\033[0;32mOutput \033[0m" @echo "\033[0;32m----------------- \033[0m" @@ -136,8 +141,6 @@ schema: --namespace WebTty.Api.Messages \ --output $(shell pwd)/$(WEBTTY_CLIENT)/.tmp/messages - -chilling: - @echo "" - @echo "\033[0;32m Packaging linux-x64 \033[0m" - @echo "\033[0;32m ------------------- \033[0m" +checksum: + @rm -f $(ARTIFACTS)/SHA256SUMS.txt + @cd $(ARTIFACTS) && find . -type f ! -name "WebTty.Exec.*.nupkg" -print0 | xargs -0 sha256sum | tee SHA256SUMS.txt