-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (28 loc) · 655 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
.PHONY: build
build:
cargo build --release
.PHONY: test
test:
cargo bin cargo-nextest run --all
@# `cargo-nextest` doesn't support doctests.
cargo test --doc
.PHONY: lint
lint:
cargo clippy
.PHONY: format
format:
cargo fmt
.PHONY: clean
clean:
rm -rf ./target
.PHONY: publish
publish: lint # `cargo test` is run automatically.
cargo publish --package cubing_core
cargo publish --package cubing_macros
cargo publish --package cubing
.PHONY: bump-version-minor
bump-version-minor:
cargo workspaces version --no-git-commit --exact minor
.PHONY: bump-version-patch
bump-version-patch:
cargo workspaces version --no-git-commit --exact patch