1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-12-22 13:56:30 +00:00

Makefile: only make a single SUMS file, including sha1 and sha512

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2022-04-23 12:38:03 -04:00
parent b9356e6843
commit 020f2b9f5c
Signed by: vbatts
GPG key ID: 10937E57733F1362

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)