-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.PHONY
More file actions
31 lines (24 loc) · 624 Bytes
/
Makefile.PHONY
File metadata and controls
31 lines (24 loc) · 624 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
Makefile
```makefile
.PHONY: help test lint run build clean
help:
@echo "Available targets:"
@echo " test Run tests"
@echo " lint Run linters"
@echo " run Start the app locally"
@echo " build Build Docker image"
@echo " clean Remove temporary files"
test:
pytest tests/unit tests/integration
lint:
black --check app gateway tests
flake8 app gateway tests
isort --check-only app gateway tests
run:
uvicorn app.main:app --reload
build:
docker build -t tinkerflow-ai .
clean:
find . -type d -name "__pycache__" -exec rm -rf {} +
rm -rf .pytest_cache .coverage htmlcov
```