Merge pull request #181 from vbatts/sums

Makefile: only make a single SUMS file, including sha1 and sha512
This commit is contained in:
Vincent Batts 2022-04-23 13:45:26 -04:00 committed by GitHub
commit 00deb3ada6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -104,7 +104,11 @@ build.arches: ./bin
a=$$(echo $$pair | cut -d , -f 2);\
echo "Building $$p/$$a ...";\
GOOS=$$p GOARCH=$$a go build -mod=vendor -o ./bin/gomtree.$$p.$$a $(BUILDPATH) ;\
done
done ;\
cd bin ;\
sha1sum gomtree.* > SUMS ;\
sha512sum gomtree.* >> SUMS ;\
cd -
clean:
rm -rf $(BUILD) $(CLEAN_FILES)