Skip to content

Commit 3c40c0c

Browse files
authored
Don't check in manpage (#2130)
1 parent 70d1e1b commit 3c40c0c

File tree

5 files changed

+5
-197
lines changed

5 files changed

+5
-197
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@ jobs:
7373
id: ref-type
7474
run: cargo run --package ref-type -- --reference ${{ github.ref }} >> $GITHUB_OUTPUT
7575

76-
- name: Generate Completion Scripts
76+
- name: Generate Completion Scripts and Manpage
7777
run: |
7878
set -euxo pipefail
7979
cargo build
8080
for shell in bash elvish fish powershell zsh; do
8181
./target/debug/just --completions $shell > completions/just.$shell
8282
done
83+
mkdir -p man
84+
./target/debug/just -- --man > man/just.1
8385
8486
- name: Package
8587
id: package

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
/fuzz/artifacts
1111
/fuzz/corpus
1212
/fuzz/target
13+
/man
1314
/target
1415
/test-utilities/Cargo.lock
1516
/test-utilities/target

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3673,7 +3673,6 @@ Release x.y.z
36733673
- Update changelog
36743674
- Update changelog contributor credits
36753675
- Update dependencies
3676-
- Update man page
36773676
- Update version references in readme
36783677
```
36793678

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ shellcheck:
4343
shellcheck www/install.sh
4444

4545
man:
46+
mkdir -p man
4647
cargo run -- --man > man/just.1
4748

4849
view-man: man

man/just.1

Lines changed: 0 additions & 195 deletions
This file was deleted.

0 commit comments

Comments
 (0)