Skip to content

Commit 3ef2620

Browse files
committed
make: default target runs full dev cycle
1 parent 5da9110 commit 3ef2620

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Makefile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
.PHONY: build dev check clean release help
2-
3-
help:
4-
@echo "make build — compile (debug)"
5-
@echo "make dev — check + install locally"
6-
@echo "make check — fmt + clippy + test"
7-
@echo "make release — bump version and tag (BUMP=patch|minor|major)"
8-
@echo "make clean — remove build artifacts"
9-
10-
build:
11-
cargo build
1+
.PHONY: dev check build clean release help
122

133
dev: check
14-
cargo install --path . --locked
4+
cargo install --path . --locked --force
155

166
check:
177
cargo fmt --check
188
cargo clippy -- -D warnings
199
cargo test
2010

11+
build:
12+
cargo build
13+
2114
release:
2215
bash scripts/release.sh $(BUMP)
2316

2417
clean:
2518
cargo clean
19+
20+
help:
21+
@echo "make — fmt + clippy + test + install (default)"
22+
@echo "make check — fmt + clippy + test"
23+
@echo "make build — compile (debug)"
24+
@echo "make release — bump version and tag (BUMP=patch|minor|major)"
25+
@echo "make clean — remove build artifacts"

0 commit comments

Comments
 (0)