Skip to content

Commit e91a472

Browse files
committed
makefile
1 parent f445e79 commit e91a472

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.PHONY: test install dev clean lint
2+
3+
# Install dependencies
4+
install:
5+
pip install -r requirements.txt
6+
7+
# Install in development mode
8+
dev:
9+
pip install -e .
10+
11+
# Run tests
12+
test:
13+
python3 -m pytest tests/ -v
14+
15+
# Clean up cache and build files
16+
clean:
17+
find . -type d -name __pycache__ -exec rm -rf {} +
18+
find . -type d -name "*.egg-info" -exec rm -rf {} +
19+
find . -type d -name .pytest_cache -exec rm -rf {} +
20+
find . -type f -name "*.pyc" -delete
21+
find . -type f -name "*.pyo" -delete

0 commit comments

Comments
 (0)