Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
env:
DEVELOPER_DIR: "/Applications/Xcode-latest.app/Contents/Developer"

- name: Check command reference usage drift
run: make lint-command-reference
env:
DEVELOPER_DIR: "/Applications/Xcode-latest.app/Contents/Developer"

- name: Set build configuration
env:
RELEASE: ${{ inputs.release }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ test_results/
*.ext4
*.pkg
*.swp
__pycache__/
*.pyc

# Coverage artifacts
*.profraw
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@ docs:
@rm -rf _site
@scripts/make-docs.sh _site container

.PHONY: lint-command-reference
lint-command-reference: cli
@echo Linting command reference usage against container CLI...
@python3 scripts/generate-command-reference.py --cli ./bin/container --lint-usage-against docs/command-reference.md

.PHONY: cleancontent
cleancontent:
@bin/container system stop || true
Expand Down
Loading