-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (38 loc) · 1.41 KB
/
Makefile
File metadata and controls
44 lines (38 loc) · 1.41 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
test: test-smoke
test-smoke: test-style
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -short -v -run TestSmoke
test-full: test-style
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestGlobal
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestApps
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestAuth
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestBuilds
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestClusters
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestConfig
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestKeys
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestPerms
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestPs
GOPATH=$(CURDIR)/_vendor:$(GOPATH) \
go test -tags integration -v -run TestReleases
setup-root-gotools:
sudo GOPATH=/tmp/tmpGOPATH go get -u -v code.google.com/p/go.tools/cmd/cover
sudo GOPATH=/tmp/tmpGOPATH go get -u -v code.google.com/p/go.tools/cmd/vet
sudo rm -rf /tmp/tmpGOPATH
setup-gotools:
go get -v github.com/golang/lint/golint
test-style:
go vet -x ./...
-golint *.go dockercli etcdutils mock utils
nuke_from_orbit:
-docker kill `docker ps -q`
-docker rm `docker ps -a -q`
-docker rmi -f `docker images -q`