Skip to content

Commit

Permalink
fix: Include man pages in asset archives
Browse files Browse the repository at this point in the history
  • Loading branch information
prantlf committed Dec 15, 2023
1 parent 214c683 commit f6fc610
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: bump
uses: prantlf/bump-version-action@v2
with:
bump-files: jsonlint.v
bump-files: src/jsonlint.v
- name: Shelve changes
uses: prantlf/shelve-changes-action@v1
- name: Build and Test
Expand All @@ -36,6 +36,7 @@ jobs:
uses: prantlf/shelve-output-action@v2
with:
enable: ${{ steps.bump.outputs.bumped }}
extra: man
- name: Install ARM Cross-Compiler
run: |
sudo apt-get update
Expand All @@ -47,6 +48,7 @@ jobs:
with:
enable: ${{ steps.bump.outputs.bumped }}
arch: arm64
extra: man

macos:
needs:
Expand All @@ -68,13 +70,16 @@ jobs:
- name: Shelve output
if: ${{ needs.linux.outputs.changed == 'true' }}
uses: prantlf/shelve-output-action@v2
with:
extra: man
- name: Build ARM
run: make build RELEASE=1 MACOS_ARM=1
- name: Shelve output
if: ${{ needs.linux.outputs.changed == 'true' }}
uses: prantlf/shelve-output-action@v2
with:
arch: arm64
extra: man

windows:
needs:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ check:
v vet .

build:
v $(VFLAGS) jsonlint.v
v $(VFLAGS) -o jsonlint .

test:
./test.sh
2 changes: 1 addition & 1 deletion make.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v -prod jsonlint.v
v -prod -o jsonlint .
File renamed without changes.
File renamed without changes.

0 comments on commit f6fc610

Please sign in to comment.