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:
commit
00deb3ada6
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue