-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 787 Bytes
/
Makefile
File metadata and controls
36 lines (27 loc) · 787 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
32
33
34
35
36
.PHONY: install dev run test lint clean
install:
pip install -e .
dev:
pip install -e ".[dev]"
run:
python -m opsportal --reload
test:
python -m pytest tests/ -v --tb=short
lint:
python -m ruff check src/ tests/
python -m ruff format --check src/ tests/
format:
python -m ruff format src/ tests/
python -m ruff check --fix src/ tests/
clean:
rm -rf artifacts/ work/ .pytest_cache/ .ruff_cache/
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
# Install all tools in editable mode (for local development)
install-tools:
pip install -e ../ReleasePilot
pip install -e ../ReleaseBoard
pip install -e ../LocaleSync
pip install -e ../FlowBoard
# Full local dev setup
setup: dev install-tools
@echo "OpsPortal + all tools installed. Run: make run"