-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (43 loc) · 874 Bytes
/
Makefile
File metadata and controls
56 lines (43 loc) · 874 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
help:
@echo "FastDevCli development makefile"
@echo
@echo "Usage: make <target>"
@echo "Targets:"
@echo " up Updates dev/test dependencies"
@echo " deps Ensure dev/test dependencies are installed"
@echo " check Checks that build is sane"
@echo " test Runs all tests"
@echo " style Auto-formats the code"
@echo " lint Auto-formats the code and check type hints"
up:
@just up
lock:
@just lock
deps:
@just deps
_check:
@just _check
uvx twine check dist/*
check: deps _build _check
_lint:
@just _lint
lint: deps _build _lint
_test:
./scripts/test.py
test: deps _test
_style:
./scripts/format.py
style: deps _style
_build:
@just _build
build:
@just build
# Usage::
# make venv version=3.12
venv:
@just venv $(version)
venv314t:
@just venv 3.14t
venv313:
$(MAKE) venv version=3.13
ci: check _test