-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (26 loc) · 1011 Bytes
/
Makefile
File metadata and controls
32 lines (26 loc) · 1011 Bytes
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
test: test-smoke
test-smoke: test-style
godep go test -tags integration -short -timeout 20m -v -run TestSmoke
test-full: test-style
godep go test -tags integration -v -run TestGlobal
godep go test -tags integration -v -run TestApps
godep go test -tags integration -v -run TestAuth
godep go test -tags integration -v -run TestBuilds
godep go test -tags integration -v -run TestConfig
godep go test -tags integration -v -run TestKeys
godep go test -tags integration -v -run TestPerms
godep go test -tags integration -v -run TestPs
godep 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 ./...
nuke_from_orbit:
-docker kill `docker ps -q`
-docker rm `docker ps -a -q`
-docker rmi -f `docker images -q`