-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 736 Bytes
/
Makefile
File metadata and controls
37 lines (28 loc) · 736 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
37
# Makefile for easy development workflows.
# Note GitHub Actions call uv directly, not this Makefile.
.DEFAULT_GOAL := default
.PHONY: default install lint test upgrade build clean
default: install lint test
install:
uv sync --all-extras
(cd ui && npm install)
lint:
uv run ruff check
uv run ruff format --check
uv run ty check
(cd ui && ng lint)
test:
uv run python -m unittest discover -v -s tests
# (cd ui && ng test --no-watch --no-progress)
upgrade:
uv sync --upgrade --all-extras --dev
build:
(cd ui && ng build --configuration production)
uv build
clean:
-rm -rf dist/
-rm -rf *.egg-info/
-rm -rf .pytest_cache/
-rm -rf .ruff_cache/
-rm -rf .venv/
-find . -type d -name "__pycache__" -exec rm -rf {} +