[script] install shellcheck in bootstrap (#5067)

This commit is contained in:
Simon Lin
2020-06-11 18:26:18 -07:00
committed by GitHub
parent 29bcfee0df
commit 9aadfd0cdf
+2 -2
View File
@@ -37,7 +37,7 @@ install_packages_apt()
{ {
# apt-get update and install dependencies # apt-get update and install dependencies
sudo apt-get update sudo apt-get update
sudo apt-get --no-install-recommends install -y automake g++ libtool lsb-release make cmake ninja-build sudo apt-get --no-install-recommends install -y automake g++ libtool lsb-release make cmake ninja-build shellcheck
PLATFORM=$(lsb_release -is) PLATFORM=$(lsb_release -is)
RELEASE=$(lsb_release -rs) RELEASE=$(lsb_release -rs)
@@ -82,7 +82,7 @@ install_packages_rpm()
install_packages_brew() install_packages_brew()
{ {
# add build tools # add build tools
brew install automake libtool cmake ninja shfmt brew install automake libtool cmake ninja shfmt shellcheck
# add ARM toolchain # add ARM toolchain
brew tap ArmMbed/homebrew-formulae brew tap ArmMbed/homebrew-formulae