-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 894 Bytes
/
Makefile
File metadata and controls
39 lines (30 loc) · 894 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
.PHONY: help install build deploy load-data clean-table run clean
help:
@echo "DynamoDB Adjacency List Pattern Demo"
@echo "===================================="
@echo "Available commands:"
@echo " make install - Install npm dependencies"
@echo " make deploy - Deploy DynamoDB table"
@echo " make build - Build TypeScript code"
@echo " make load-data - Load sample data"
@echo " make run - Run the demo"
@echo " make clean-table - Clean all data from table"
@echo " make clean - Clean build artifacts"
@echo " make all - Complete setup and run"
install:
npm install
deploy:
chmod +x scripts/deploy.sh
./scripts/deploy.sh
build:
npm run build
load-data: build
npm run load-data
run: build
npm start
clean-table: build
npm run clean-table
clean:
rm -rf dist/
rm -rf node_modules/
all: install deploy build load-data run