Skip to content

Commit

Permalink
Add Makefile for check/release
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Aug 24, 2024
1 parent c77ba0e commit b275959
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.PHONY: check release

check:
cargo fmt --check
cargo clippy
cargo test

release:
ifndef version
$(error version is not set. Usage: make release version=<version>)
endif
cargo set-version $(version)
git tag $(version)

0 comments on commit b275959

Please sign in to comment.