-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 688 Bytes
/
Makefile
File metadata and controls
36 lines (27 loc) · 688 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
# Makefile for easy development workflows.
# See development.md for docs.
# 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 --locked --group lint
lint:
-uv run codespell ./src
-uv run ruff check ./src
-uv run ruff format ./src
-uv run basedpyright ./src
test:
-uv run csv2ical sample.csv test.ics
-diff sample.ics test.ics
upgrade:
uv sync --upgrade --group lint
build:
uv build
clean:
-rm -rf dist/
-rm -rf *.egg-info/
-rm -rf .pytest_cache/
-rm -rf .mypy_cache/
-rm -rf .venv/
-find . -type d -name "__pycache__" -exec rm -rf {} +