dist command to make binaries and package them for distribution

This commit is contained in:
Anton Kaliaev
2017-01-23 14:45:13 +04:00
parent c6375e414d
commit cc2457f7d5
5 changed files with 119 additions and 0 deletions
+4
View File
@@ -16,6 +16,10 @@ build:
build_race:
go build -race -o build/tendermint ./cmd/tendermint
# dist builds binaries for all platforms and packages them for distribution
dist:
@BUILD_TAGS='$(BUILD_TAGS)' sh -c "'$(CURDIR)/scripts/dist.sh'"
test: build
@echo "--> Running go test"
@go test $(PACKAGES)