Improve comments in justfile (#588)

This commit is contained in:
Casey Rodarmor 2020-01-31 00:47:48 -08:00 committed by GitHub
parent 88f4ee760a
commit b1ebf63124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ view-man: man
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
git branch | grep '* master'
git diff --no-ext-diff --quiet --exit-code
@ -60,6 +60,7 @@ publish-check: lint clippy test man
cargo test
git checkout Cargo.lock
# publish to crates.io and push release tag to github
publish: publish-check
cargo +nightly publish
git tag -a {{version}} -m 'Release {{version}}'

View File

@ -24,7 +24,8 @@
clippy::too_many_lines,
clippy::unreachable,
clippy::use_debug,
clippy::wildcard_enum_match_arm
clippy::wildcard_enum_match_arm,
clippy::missing_errors_doc
)]
#[macro_use]