-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 855 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 855 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
.PHONY: build
build:
rm -rf .venv
sam build --use-container --cached
.PHONY: build-NumpyLayer
build-NumpyLayer:
pip install -r layers/numpy/requirements.txt -t $(ARTIFACTS_DIR)/python --no-deps
.PHONY: build-PandasLayer
build-PandasLayer:
pip install -r layers/pandas/requirements.txt -t $(ARTIFACTS_DIR)/python --no-deps
.PHONY: build-OpenaiLayer
build-OpenaiLayer:
pip install -r layers/openai/requirements.txt -t $(ARTIFACTS_DIR)/python --no-deps
.PHONY: build-PynaclLayer
build-PynaclLayer:
pip install -r layers/pynacl/requirements.txt -t $(ARTIFACTS_DIR)/python --no-deps
.PHONY: build-CommandFunction
build-CommandFunction:
pip install . -t $(ARTIFACTS_DIR) --no-deps
cp command/handler.py $(ARTIFACTS_DIR)/handler.py
.PHONY: build-InteractionFunction
build-InteractionFunction:
cp interaction/handler.py $(ARTIFACTS_DIR)/handler.py