mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 02:16:31 +00:00
28 lines
654 B
Bash
28 lines
654 B
Bash
#! /bin/bash
|
|
|
|
# in common
|
|
# sudo_package 'libtool automake cmake'
|
|
|
|
case "$PACKAGE_MANAGER" in
|
|
"port")
|
|
sudo_package 'libtool autoconf automake cmake pkgconfig gettext ninja'
|
|
;;
|
|
"brew")
|
|
sudo_package 'libtool automake cmake pkg-config gettext ninja'
|
|
;;
|
|
"apt-get")
|
|
sudo_package 'libtool libtool-bin autoconf automake cmake g++ pkg-config unzip ninja-build'
|
|
;;
|
|
esac
|
|
|
|
neovim_dir=$WORKSPACE/neovim
|
|
|
|
if [ ! -d $neovim_dir ]; then
|
|
log "Cloning neovim"
|
|
git clone https://github.com/neovim/neovim $neovim_dir
|
|
else
|
|
(cd $neovim_dir && git pull)
|
|
fi
|
|
|
|
(cd $neovim_dir && make && sudo make install)
|