-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
35 lines (28 loc) · 867 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
26
27
28
29
30
31
32
33
34
35
.PHONY: clean-pyc
help:
@echo " init"
@echo " Initializes project requirements"
@echo " clean-pyc"
@echo " Remove python artifacts."
@echo " dev"
@echo " Runs application in Docker and execs into shell within container in dev mode."
@echo " stop"
@echo " Stops application in dev mode"
@echo " prune-all"
@echo " Prunes all docker containers, images, volumes, and networks"
init:
@./scripts/init
clean-pyc:
@find . -name '*.pyc' -exec rm -f {} +
@find . -name '*.pyo' -exec rm -f {} +
@find . -name '*~' -exec rm -f {} +
@find . -name '__pycache__' -exec rm -fr {} +
@rm -rf test-results
dev:
@./scripts/dev
stop:
@docker-compose -f ./docker-compose.yaml --env-file .env down
prune-all:
@docker system prune -a --volumes
manifest:
@./scripts/gen-manifest