-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 842 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (22 loc) · 842 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
# GhostCheck Developer Makefile
.PHONY: install test lint clean demo build help
help:
@echo "Available commands:"
@echo " make install - Install package in editable mode with dev dependencies"
@echo " make test - Run tests with coverage report"
@echo " make lint - Run flake8 and mypy checks"
@echo " make clean - Remove build artifacts and caches"
@echo " make demo - Run the GhostCheck demo scan"
@echo " make build - Build source and wheel distributions"
install:
pip install -e .[dev]
test:
pytest tests/ -v --cov=ghostcheck --cov-report=term-missing
lint:
flake8 src/ tests/
mypy src/
clean:
rm -rf build/ dist/ *.egg-info .pytest_cache .coverage htmlcov/
find . -type d -name "__pycache__" -exec rm -rf {} +
demo:
python -m ghostcheck.cli scan src/ghostcheck/data/demo_fixtures --soft-fail