We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c7abc commit 81a23c2Copy full SHA for 81a23c2
Makefile
@@ -8,7 +8,7 @@ VERSION_TAG=0.2.0
8
all: install test
9
10
install: get_vendor_deps
11
- @go install --ldflags '-extldflags "-static"' \
+ @go install \
12
--ldflags "-X github.com/tendermint/ethermint/version.GitCommit=`git rev-parse HEAD`" \
13
./cmd/ethermint
14
@@ -17,6 +17,11 @@ build:
17
18
-o ./build/ethermint ./cmd/ethermint
19
20
+build_static:
21
+ @go build \
22
+ --ldflags "-extldflags '-static' -X github.com/tendermint/ethermint/version.GitCommit=`git rev-parse HEAD`" \
23
+ -o ./build/ethermint ./cmd/ethermint
24
+
25
build_race:
26
@go build -race -o build/ethermint ./cmd/ethermint
27
0 commit comments