Add --man subcommand (#2041)
This commit is contained in:
12
justfile
12
justfile
@@ -43,13 +43,7 @@ shellcheck:
|
||||
shellcheck www/install.sh
|
||||
|
||||
man:
|
||||
cargo build --features help4help2man
|
||||
help2man \
|
||||
--name 'save and run commands' \
|
||||
--manual 'Just Manual' \
|
||||
--no-info \
|
||||
target/debug/just \
|
||||
> man/just.1
|
||||
cargo run -- --man > man/just.1
|
||||
|
||||
view-man: man
|
||||
man man/just.1
|
||||
@@ -115,10 +109,6 @@ install-dev-deps:
|
||||
cargo install cargo-watch
|
||||
cargo install mdbook mdbook-linkcheck
|
||||
|
||||
# install system development dependencies with homebrew
|
||||
install-dev-deps-homebrew:
|
||||
brew install help2man
|
||||
|
||||
# everyone's favorite animate paper clip
|
||||
clippy:
|
||||
cargo clippy --all --all-targets --all-features
|
||||
|
||||
Reference in New Issue
Block a user