packer-cn/Makefile

24 lines
463 B
Makefile
Raw Normal View History

TEST?=./...
2013-05-07 14:39:32 -04:00
default: test
2013-03-23 03:48:20 -04:00
bin:
@sh -c "$(CURDIR)/scripts/build.sh"
2013-09-17 07:35:07 -04:00
dev:
@TF_DEV=1 sh -c "$(CURDIR)/scripts/build.sh"
2013-08-13 21:42:08 -04:00
test:
go test $(TEST) $(TESTARGS) -timeout=10s
2013-07-18 10:26:36 -04:00
testrace:
go test -race $(TEST) $(TESTARGS)
2013-03-24 17:47:59 -04:00
updatedeps:
go get -d -v -p 2 ./...
@sh -c "go get -u -v -p 2 ./...; exit 0"
@sh -c "cd ../../rackspace/gophercloud && git checkout release/v0.1.1" # because dependency management
go get -d -v -p 2 ./...
2013-03-24 17:31:18 -04:00
.PHONY: bin default test updatedeps