forked from cosmos/ethermint-archive
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (20 loc) · 626 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: get_deps build all list_deps install
all: get_deps install test
TMROOT = $${TMROOT:-$$HOME/.tendermint}
define NEWLINE
endef
NOVENDOR = go list github.com/tendermint/ethermint/... | grep -v /vendor/
install: get_deps
go install github.com/tendermint/ethermint/cmd/ethermint
test: build
go test `${NOVENDOR}`
test_race: build
go test -race `${NOVENDOR}`
get_deps:
go get -d `${NOVENDOR}`
go list -f '{{join .TestImports "\n"}}' github.com/tendermint/ethermint/... | \
grep -v /vendor/ | sort | uniq | \
xargs go get
get_vendor_deps:
go get github.com/Masterminds/glide
glide install --strip-vendor