forked from aws-cloudformation/cloudformation-guard
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
25 lines (17 loc) · 606 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
.PHONY: cfn-guard cfn-guard-rulegen
cfn-guard:
cargo build --release; cp target/release/cfn-guard ../bin
cfn-guard-rulegen:
cargo build --release; cp target/release/cfn-guard-rulegen ../bin
cfn-guard-lambda_install:
cd cfn-guard-lambda; make install
cfn-guard-lambda_update:
cd cfn-guard-lambda; make test
clean:
if test -f cloudformation-guard.tar.gz; then rm cloudformation-guard.tar.gz; fi
test:
cargo test
release_with_binaries: clean cfn-guard cfn-guard-rulegen
tar czvf cloudformation-guard.tar.gz -X Exclude.txt .
release: clean
tar czvf cloudformation-guard.tar.gz -X Exclude.txt .