-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmakefile
More file actions
37 lines (25 loc) · 775 Bytes
/
makefile
File metadata and controls
37 lines (25 loc) · 775 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
33
SHELL := /bin/bash
check: aws-cli-exists pip-exists j2-exists gnu-sed-exists
pip-exists: ; @which pip > /dev/null
aws-cli-exists: ; @aws --version > /dev/null
j2-exists: ; @which j2 > /dev/null
gnu-sed-exists: ; @which gsed > /dev/null
# Mac Install Commands
#pip install aws-cli
#pip install j2cli
#brew install gnu-sed
mytarget: check
.PHONY: check
sam: check
chmod +x shell/sam.sh && ./shell/sam.sh
build:
chmod +x shell/build.sh && ./shell/build.sh
terraform-up: check
chmod +x shell/terraform.sh && ./shell/terraform.sh
destroy: check
chmod +x shell/destroy.sh && ./shell/destroy.sh
deploy-files: check
chmod +x shell/deploy.sh && ./shell/deploy.sh
watch: check
chmod +x shell/watch.sh && ./shell/watch.sh
launch: check terraform-up deploy-files build