blob: 29f4d73a7f0e54a35ad62475bb1ee838bcdec7cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
os=$(uname -s)
if [[ $os == Linux ]]; then
sudo apt-get update
sudo apt-get install -y build-essential cmake curl gettext locales-all ninja-build pkg-config unzip "$@"
elif [[ $os == Darwin ]]; then
brew update --quiet
brew install ninja "$@"
fi
|