Fix youcompleteme.sh

This commit is contained in:
Austen Adler 2016-03-21 12:41:23 -04:00
parent f92cd9dda9
commit 8603a391ca

View File

@ -3,11 +3,16 @@ echo "Make sure this is in your .vimrc"
echo "Plug 'https://github.com/Valloric/YouCompleteMe'"
echo -n "Press enter to continue..."
read a
rm -rf ~/ycm_build
mkdir ~/ycm_build
cd ~/ycm_build
touch .nobackup
cmake -G "Unix Makefiles" . ~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp
make ycm_support_libs
cmake --build . --target ycm_core
cd ~/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/gocode
go build
cd ~/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tern_runtime
npm install --production
cd -
echo "It should be done."
echo -n "Running vim to test for errors. Press enter to continue..."