-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 764 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (24 loc) · 764 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
.PHONY: install dev test clean build help
# Default target
help:
@echo "CrawlGuard - Available targets:"
@echo " install - Install the package in development mode"
@echo " dev - Install with dev dependencies"
@echo " test - Run the test suite"
@echo " clean - Remove build artifacts"
@echo " build - Build the package"
@echo " lint - Check code style"
install:
pip install -e .
dev:
pip install -e ".[dev]"
test:
python -m pytest tests/ -v
clean:
rm -rf build/ dist/ *.egg-info .pytest_cache __pycache__
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete 2>/dev/null || true
build:
python setup.py sdist bdist_wheel
lint:
python -m py_compile crawlguard/*.py