-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 922 Bytes
/
Makefile
File metadata and controls
40 lines (31 loc) · 922 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
34
35
36
37
38
39
40
.PHONY: test
# Define the default target
test:
@pytest -vv
# Clean up pytest cache and temporary files
clean:
@rm -rf .pytest_cache
@rm -rf __pycache__
# Install dependencies
install:
@. .venv/bin/activate
@pip install -r requirements-dev.txt
@pip install -r requirements.txt
# Install dev dependencies
dev-install:
@pip install -r requirements-dev.txt
# Bootstrap the AWS environment for CDK
bootstrap:
@JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION=true cdk bootstrap
# Deploy the CDK stack
deploy:
@JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION=true cdk deploy --all --no-rollback --require-approval never
# Destroy the CDK stack
destroy:
@JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION=true cdk destroy --all -f
# Check env drift the CDK stack
diff:
@JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION=true cdk diff
# Check env drift the CDK stack
synth:
@JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION=true cdk synth