Add a just cmd to check for API changes
Add a `just` command to run the API checking script. Makes it more discoverable.
This commit is contained in:
parent
b222f40f99
commit
76331aeee3
|
@ -72,7 +72,7 @@ generate_api_files() {
|
||||||
popd > /dev/null
|
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() {
|
check_for_changes() {
|
||||||
pushd "$REPO_DIR" > /dev/null
|
pushd "$REPO_DIR" > /dev/null
|
||||||
|
|
||||||
|
|
4
justfile
4
justfile
|
@ -36,3 +36,7 @@ sane: lint
|
||||||
# Update the recent and minimal lock files.
|
# Update the recent and minimal lock files.
|
||||||
update-lock-files:
|
update-lock-files:
|
||||||
contrib/update-lock-files.sh
|
contrib/update-lock-files.sh
|
||||||
|
|
||||||
|
# Check for API changes.
|
||||||
|
check-api:
|
||||||
|
contrib/check-for-api-changes.sh
|
||||||
|
|
Loading…
Reference in New Issue