-
-
Notifications
You must be signed in to change notification settings - Fork 466
/
Makefile
41 lines (31 loc) · 684 Bytes
/
Makefile
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
.PHONY: all
all: test
.PHONY: build
build:
@cargo build --all
.PHONY: test
test:
@cargo insta test --workspace --all-features
.PHONY: check
check:
@cargo check --all
.PHONY: format
format:
@cargo fmt --all
.PHONY: format-check
format-check:
@cargo fmt --all -- --check
.PHONY: serve-docs
serve-docs: .venv
@rye run serve-docs
.PHONY: lint
lint:
@cargo clippy --all -- -D clippy::dbg-macro -D warnings
.venv:
@rye sync
.PHONY: sync-python-releases
sync-python-releases: .venv
@rye run find-downloads > rye/src/sources/generated/python_downloads.inc
.PHONY: sync-uv-releases
sync-uv-releases: .venv
@rye run uv-downloads > rye/src/sources/generated/uv_downloads.inc