sync/applications/youcompleteme.sh

21 lines
631 B
Bash
Raw Normal View History

2015-07-17 08:27:36 -04:00
#!/bin/zsh
2016-07-27 01:02:38 -04:00
if [ ! "$1" = "-y" ]; then
# They want to assume yes, require no user input
echo "Make sure this is in your .vimrc"
echo "Plug 'https://github.com/Valloric/YouCompleteMe'"
2016-07-27 01:02:38 -04:00
echo -n "Press enter to continue..."
read a
fi
2016-03-21 12:41:23 -04:00
rm -rf ~/ycm_build
2015-07-17 08:27:36 -04:00
mkdir ~/ycm_build
cd ~/ycm_build
2016-01-10 03:25:01 -05:00
touch .nobackup
2015-07-17 08:27:36 -04:00
cmake -G "Unix Makefiles" . ~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp
2016-03-21 12:41:23 -04:00
cmake --build . --target ycm_core
2016-03-29 17:12:47 -04:00
#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
2015-07-17 08:27:36 -04:00
cd -
echo "It should be done."