2014-09-02 18:13:55 -04:00
|
|
|
TEST?=./...
|
2013-05-07 14:39:32 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
default: test
|
2013-03-23 03:48:20 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
bin:
|
|
|
|
@sh -c "$(CURDIR)/scripts/build.sh"
|
2013-09-17 07:35:07 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
dev:
|
|
|
|
@TF_DEV=1 sh -c "$(CURDIR)/scripts/build.sh"
|
2013-08-13 21:42:08 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
test:
|
|
|
|
go test $(TEST) $(TESTARGS) -timeout=10s
|
2013-07-18 10:26:36 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
testrace:
|
|
|
|
go test -race $(TEST) $(TESTARGS)
|
2013-03-24 17:47:59 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
updatedeps:
|
2014-09-11 01:55:07 -04:00
|
|
|
go get -u -v -p 2 ./...
|
2013-03-24 17:31:18 -04:00
|
|
|
|
2014-09-02 18:13:55 -04:00
|
|
|
.PHONY: bin default test updatedeps
|