mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
41b29ff93c
* Chore: Migrate to use buf for protobuf generation * fix codeowners * fixes after review * docs/tooling for installing buf * add back codeowners * Update upgrading-dependencies.md Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com> * sdk v0.229.0 --------- Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
17 lines
340 B
Bash
Executable File
17 lines
340 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Check whether buf cli is installed
|
|
BUF_HELP_URL="https://buf.build/docs/installation"
|
|
|
|
EXIT_CODE=0
|
|
|
|
if ! [ -x "$(command -v buf)" ]; then
|
|
echo "Buf CLI not found."
|
|
echo "Please install Buf CLI and ensure 'buf' is available in your PATH."
|
|
echo "See ${BUF_HELP_URL} for help."
|
|
echo
|
|
EXIT_CODE=1
|
|
fi
|
|
|
|
exit $EXIT_CODE
|