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

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

View file

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