-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 538 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (21 loc) · 538 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
VERSION := $(shell grep -o 'AppVersion = "[^"]*"' internal/utils/info.go | cut -d '"' -f 2)
run:
go run ./cmd/e1s/main.go
test:
go test -v ./...
vet:
go vet
tag:
echo "Tagging version $(VERSION)"
git tag -a $(VERSION) -m "Release $(VERSION)"
git push origin $(VERSION)
plan:
cd tests && terraform plan -var="cluster_count=10" -var="service_count=10" -var="task_count=1"
apply:
cd tests && terraform apply -var="cluster_count=10" -var="service_count=10" -var="task_count=1"
.PHONY: \
dep \
install \
build \
vet \
test