-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (27 loc) · 1.02 KB
/
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
.PHONY: install/athanor
install/athanor:
cd ../athanor && go install ./cmd/athanor && cd -
.PHONY: build/translator/go
build/translator/go:
cd ../athanor-go/cmd/translator && go build -o ../../../athanor-provider-gcp/build/translator/go/v0.0.1/translator && cd -
.PHONY: generate
generate: install/athanor build/translator/go
athanor provider generate config.json
.PHONY: build/provider
build/provider:
go build -o build/provider/gcp/v0.0.1/provider ./cmd/provider
.PHONY: blueprint/reconcile
blueprint/reconcile: install/athanor build/translator/go build/provider
athanor blueprint reconcile ./example/config.json
.PHONY: diff/show
diff/show: install/athanor
athanor diff show --debug ./example/config.json
.PHONY: diff/reconcile
diff/reconcile: install/athanor
athanor diff reconcile --debug ./example/config.json
.PHONY: deps/download
deps/download: install/athanor
athanor deps download --debug ./example/config.json
.PHONY: deps/install
deps/install: install/athanor
athanor deps install --debug ./example/config.json