Skip to content

Commit

Permalink
Merge pull request #36 from fqutishat/update4
Browse files Browse the repository at this point in the history
fix: gzip binaries
  • Loading branch information
fqutishat authored May 4, 2021
2 parents 211f594 + 9805135 commit 1f29038
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,13 @@ build-vct:
build-vct-dist:
@echo "Building verifiable credentials transparency (vct)"
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/dist/bin/vct-linux-amd64 cmd/vct/main.go
@tar cvzf build/dist/bin/vct-linux-amd64.tar.gz build/dist/bin/vct-linux-amd64
@rm -rf build/dist/bin/vct-linux-amd64
@cd build/dist/bin;tar cvzf vct-linux-amd64.tar.gz vct-linux-amd64;rm -rf vct-linux-amd64
@CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o build/dist/bin/vct-linux-arm64 cmd/vct/main.go
@tar cvzf build/dist/bin/vct-linux-arm64.tar.gz build/dist/bin/vct-linux-arm64
@rm -rf build/dist/bin/vct-linux-arm64
@cd build/dist/bin;tar cvzf vct-linux-arm64.tar.gz vct-linux-arm64;rm -rf vct-linux-arm64
@CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o build/dist/bin/vct-darwin-arm64 cmd/vct/main.go
@tar cvzf build/dist/bin/vct-darwin-arm64.tar.gz build/dist/bin/vct-darwin-arm64
@rm -rf build/dist/bin/vct-darwin-arm64
@cd build/dist/bin;tar cvzf vct-darwin-arm64.tar.gz vct-darwin-arm64;rm -rf vct-darwin-arm64
@CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o build/dist/bin/vct-darwin-amd64 cmd/vct/main.go
@tar cvzf build/dist/bin/vct-darwin-amd64.tar.gz build/dist/bin/vct-darwin-amd64
@rm -rf build/dist/bin/vct-darwin-amd64
@cd build/dist/bin;tar cvzf vct-darwin-amd64.tar.gz vct-darwin-amd64;rm -rf vct-darwin-amd64
@for f in build/dist/bin/vct*; do shasum -a 256 $$f > $$f.sha256; done

.PHONY: build-vct-docker
Expand Down

0 comments on commit 1f29038

Please sign in to comment.