Skip to content

Commit

Permalink
Add a just cmd to check for API changes
Browse files Browse the repository at this point in the history
Add a `just` command to run the API checking script. Makes it more
discoverable.
  • Loading branch information
tcharding committed May 17, 2024
1 parent b222f40 commit 76331ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/check-for-api-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ generate_api_files() {
popd > /dev/null
}

# Check if there are changes (dirty git index) to the `api/` directory.
# Check if there are changes (dirty git index) to the `api/` directory.
check_for_changes() {
pushd "$REPO_DIR" > /dev/null

Expand Down
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ sane: lint
# Update the recent and minimal lock files.
update-lock-files:
contrib/update-lock-files.sh

# Check for API changes.
check-api:
contrib/check-for-api-changes.sh

0 comments on commit 76331ae

Please sign in to comment.