Merge pull request #103 from zcash-hackworks/add_release_targs

Adding release targets to Makefile
This commit is contained in:
Marshall Gaucher 2019-10-13 15:50:25 -07:00 committed by GitHub
commit 917892b665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ build:
GO111MODULE=on CGO_ENABLED=1 go build -i -v ./cmd/ingest
GO111MODULE=on CGO_ENABLED=1 go build -i -v ./cmd/server
build_rel:
GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -i -v ./cmd/ingest
GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -i -v ./cmd/server
# Install binaries into Go path
install:
go install ./...