Skip to content

Commit 76331ae

Browse files
committed
Add a just cmd to check for API changes
Add a `just` command to run the API checking script. Makes it more discoverable.
1 parent b222f40 commit 76331ae

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

contrib/check-for-api-changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ generate_api_files() {
7272
popd > /dev/null
7373
}
7474

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

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ sane: lint
3636
# Update the recent and minimal lock files.
3737
update-lock-files:
3838
contrib/update-lock-files.sh
39+
40+
# Check for API changes.
41+
check-api:
42+
contrib/check-for-api-changes.sh

0 commit comments

Comments
 (0)