/
Makefile
42 lines (29 loc) · 913 Bytes
/
Makefile
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
.DEFAULT_GOAL=build
.PHONY: build test get run
clean:
go clean .
generate:
go generate -x
@echo "Generate complete: `date`"
vet: generate
go tool vet -composites=false *.go
get: clean
go get -u -v ./...
build: get generate vet
go build .
test:
go test ./test/...
delete:
go run main.go delete
provision-default: generate vet
go run main.go provision --level info --s3Bucket $(S3_BUCKET) --noop
provision-staging: generate vet
go run main.go provision --level info --s3Bucket $(S3_BUCKET) --tags staging --noop
provision-production: generate vet
go run main.go provision --level info --s3Bucket $(S3_BUCKET) --tags production --noop
describe-staging: generate vet
go run main.go --level info describe --out ./graph.html --tags staging
describe-production: generate vet
go run main.go --level info describe --out ./graph.html --tags production
explore:
go run main.go --level info explore