
* refactor: take clients out of internal * refactor: move stdio to pkg * Move internal/api to api * refactor: final changes for Kapacitor to access shared functionality * chore: regenerate mocks * fix: bad automated refactor * chore: extra formatting not caught by make fmt
11 lines
286 B
Bash
Executable File
11 lines
286 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
declare -r ETC_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
|
|
${ETC_DIR}/generate-openapi.sh
|
|
|
|
if ! git --no-pager diff --exit-code -- api; then
|
|
>&2 echo "openapi generated client doesn't match spec, please run 'make openapi'"
|
|
exit 1
|
|
fi
|