Skip to content

Commit

Permalink
Improve comments in justfile (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 31, 2020
1 parent 88f4ee7 commit b1ebf63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}'
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b1ebf63

Please sign in to comment.