diff --git a/contrib/check-for-api-changes.sh b/contrib/check-for-api-changes.sh index 694284ef6..d350b789b 100755 --- a/contrib/check-for-api-changes.sh +++ b/contrib/check-for-api-changes.sh @@ -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 diff --git a/justfile b/justfile index 22dbfbc9a..60dcf0c3c 100644 --- a/justfile +++ b/justfile @@ -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