mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Bash has better error handling than cmake, and seem overall slightly more suited to scripting than cmake.
11 lines
306 B
Bash
Executable File
11 lines
306 B
Bash
Executable File
#!/bin/bash
|
|
|
|
os=$(uname -s)
|
|
if [[ $os == Linux ]]; then
|
|
sudo apt-get update
|
|
sudo apt-get install -y autoconf automake build-essential cmake curl gettext libtool-bin locales-all ninja-build pkg-config unzip "$@"
|
|
elif [[ $os == Darwin ]]; then
|
|
brew update --quiet
|
|
brew install automake ninja "$@"
|
|
fi
|