From b1ebf631245bd4fafb1280b3ff257e39cf6a846f Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Fri, 31 Jan 2020 00:47:48 -0800 Subject: [PATCH] Improve comments in justfile (#588) --- justfile | 3 ++- src/lib.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 9f7fbbd..5f0b77c 100755 --- a/justfile +++ b/justfile @@ -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}}' diff --git a/src/lib.rs b/src/lib.rs index 740e254..cf59240 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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]