-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (30 loc) · 814 Bytes
/
Makefile
File metadata and controls
43 lines (30 loc) · 814 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
.PHONY: tools
# *** GENERAL ***
install:
./scripts/install.sh
build:
cargo build
test:
cargo test
check_all:
cargo clippy && cargo fmt --check && cargo test
# *** RELEASE ***
release-patch-dry:
cargo release patch --config ./release.toml -v
release-patch:
make check_all && cargo release patch --config ./release.toml -v --execute
release-minor-dry:
cargo release minor --config ./release.toml -v
release-minor:
make check_all && cargo release minor --config ./release.toml -v --execute
release-major-dry:
cargo release major --config ./release.toml -v
release-major:
make check_all && cargo release major --config ./release.toml -v --execute
changelog:
git cliff -o CHANGELOG.md
# *** PUBLISH ***
# package:
# make check_all && cargo package
# publish:
# make package && cargo publish