-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (35 loc) · 1.12 KB
/
Makefile
File metadata and controls
46 lines (35 loc) · 1.12 KB
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
38
39
40
41
42
43
44
45
46
.PHONY: help install dev run lint format typecheck test build clean
help:
@echo "nimbus — Production-Grade Dynamic Island for Windows"
@echo ""
@echo "Targets:"
@echo " make install Install package in production mode"
@echo " make dev Install package + dev dependencies in editable mode"
@echo " make run Run the nimbus application"
@echo " make lint Run ruff linter"
@echo " make format Format code with ruff"
@echo " make typecheck Type-check with mypy"
@echo " make test Run pytest test suite"
@echo " make build Build distribution packages"
@echo " make clean Remove build artifacts"
install:
- pip install -e .
dev:
- pip install -e ".[dev]"
run:
- python -m nimbus
lint:
- ruff check nimbus/ tests/
format:
- ruff format nimbus/ tests/
typecheck:
- mypy nimbus/
test:
- pytest
build:
- python -m build
clean:
- rm -rf build/ dist/ *.egg-info/
- find . -type d -name __pycache__ -exec rm -rf {} +
- find . -type f -name "*.pyc" -delete
- find . -type d -name "*.egg-info" -exec rm -rf {} +