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]