Improve comments in justfile (#588)
This commit is contained in:
parent
88f4ee760a
commit
b1ebf63124
3
justfile
3
justfile
@ -50,7 +50,7 @@ view-man: man
|
|||||||
|
|
||||||
version := `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml | head -1`
|
version := `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml | head -1`
|
||||||
|
|
||||||
# publish to crates.io
|
# check run before publishing
|
||||||
publish-check: lint clippy test man
|
publish-check: lint clippy test man
|
||||||
git branch | grep '* master'
|
git branch | grep '* master'
|
||||||
git diff --no-ext-diff --quiet --exit-code
|
git diff --no-ext-diff --quiet --exit-code
|
||||||
@ -60,6 +60,7 @@ publish-check: lint clippy test man
|
|||||||
cargo test
|
cargo test
|
||||||
git checkout Cargo.lock
|
git checkout Cargo.lock
|
||||||
|
|
||||||
|
# publish to crates.io and push release tag to github
|
||||||
publish: publish-check
|
publish: publish-check
|
||||||
cargo +nightly publish
|
cargo +nightly publish
|
||||||
git tag -a {{version}} -m 'Release {{version}}'
|
git tag -a {{version}} -m 'Release {{version}}'
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
clippy::too_many_lines,
|
clippy::too_many_lines,
|
||||||
clippy::unreachable,
|
clippy::unreachable,
|
||||||
clippy::use_debug,
|
clippy::use_debug,
|
||||||
clippy::wildcard_enum_match_arm
|
clippy::wildcard_enum_match_arm,
|
||||||
|
clippy::missing_errors_doc
|
||||||
)]
|
)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
Loading…
Reference in New Issue
Block a user