tendermint/rpc/lib/Makefile

19 lines
417 B
Makefile
Raw Normal View History

2017-03-08 16:23:38 +04:00
PACKAGES=$(shell go list ./... | grep -v "test")
2016-06-23 20:36:59 -04:00
2017-03-07 19:20:19 +04:00
all: get_deps test
2016-06-23 20:36:59 -04:00
test:
@echo "--> Running go test --race"
@go test --race $(PACKAGES)
@echo "--> Running integration tests"
@bash ./test/integration_test.sh
2016-06-23 20:36:59 -04:00
get_deps:
@echo "--> Running go get"
@go get -v -d $(PACKAGES)
2017-03-10 12:03:16 +04:00
@go list -f '{{join .TestImports "\n"}}' ./... | \
grep -v /vendor/ | sort | uniq | \
xargs go get -v -d
.PHONY: all test get_deps