-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
45 lines (33 loc) · 785 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
43
44
45
NAME := tfedit
.DEFAULT_GOAL := build
.PHONY: deps
deps:
go mod download
.PHONY: build
build: deps
go build -o bin/$(NAME)
.PHONY: install
install: deps
go install
.PHONY: lint
lint:
golangci-lint run ./...
.PHONY: test
test: build
go test ./...
.PHONY: testacc
testacc: install testacc-awsv4upgrade-simple testacc-awsv4upgrade-full
.PHONY: testacc-awsv4upgrade-simple
testacc-awsv4upgrade-simple: install
scripts/testacc/awsv4upgrade.sh run simple
.PHONY: testacc-awsv4upgrade-full
testacc-awsv4upgrade-full: install
scripts/testacc/awsv4upgrade.sh run full
.PHONY: testacc-awsv4upgrade-debug
testacc-awsv4upgrade-debug: install
scripts/testacc/awsv4upgrade.sh $(ARG)
.PHONY: testacc-all
testacc-all: install
scripts/testacc/all.sh
.PHONY: check
check: lint test