2020-04-06 07:54:06 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-09-24 18:07:34 +00:00
|
|
|
|
|
|
|
if [ -x "$(command -v apt)" ]; then
|
2018-11-19 17:12:59 +00:00
|
|
|
apt install -y protobuf-compiler jq
|
2018-09-24 18:07:34 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -x "$(command -v pacman)" ]; then
|
2018-11-19 17:12:59 +00:00
|
|
|
pacman -Sy protobuf jq --noconfirm
|
2018-09-24 18:07:34 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -x "$(command -v brew)" ]; then
|
2018-11-19 17:12:59 +00:00
|
|
|
brew install protobuf jq
|
2018-09-24 18:07:34 +00:00
|
|
|
fi
|