-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 817 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (22 loc) · 817 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
.PHONY: install test lint format build clean
install:
pip install -e packages/core -e packages/cli -e packages/web -e packages/mcp
pip install pytest pytest-timeout pytest-cov ruff
test:
pytest packages/core/tests/ packages/web/tests/ packages/cli/tests/ -x -q
test-cov:
pytest --cov=cloudwright --cov=cloudwright_cli --cov=backend --cov-report=term-missing
lint:
ruff check packages/
format:
ruff format packages/
ruff check packages/ --fix
build:
python -m build packages/core
python -m build packages/cli
python -m build packages/web
python -m build packages/mcp
clean:
rm -rf packages/core/dist packages/cli/dist packages/web/dist packages/mcp/dist
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true