File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11PACKAGES =$(shell go list ./... | grep -v '/vendor/')
22BUILD_FLAGS = -ldflags "-X github.com/tendermint/clearchain.Version=` git describe ` "
3+ TARGETS = clearchainctl clearchaind
34
45all : get_vendor_deps build test
56
67# #######################################
78# ## Build
89
9- build : clearchaind
10+ build : $(TARGETS )
11+
12+ clearchainctl :
13+ go build $(BUILD_FLAGS ) ./cmd/clearchainctl
1014
1115clearchaind :
1216 go build $(BUILD_FLAGS ) ./cmd/clearchaind
@@ -21,9 +25,6 @@ get_vendor_deps:
2125 @glide install
2226
2327
24- # #######################################
25- # ## Testing
26-
2728test : coverage.txt
2829coverage.txt : clean
2930 touch $@
@@ -35,7 +36,7 @@ coverage.txt: clean
3536 done
3637
3738clean :
38- rm -f profile.out coverage.txt
39+ rm -f $( TARGETS ) profile.out coverage.txt
3940
4041benchmark :
4142 @go test -bench=. $(PACKAGES )
You can’t perform that action at this time.
0 commit comments