This commit is contained in:
2018-11-04 19:45:09 +01:00
parent 918dd9e0ae
commit 02187e81f8
5 changed files with 35 additions and 20 deletions

View File

@@ -10,26 +10,31 @@ GIT=/usr/bin/git
################################################################################
# go/rego
cd "${GITDIR}/.vim/" || exit 42;
cd "${GITDIR}/.vim/" || exit 1;
if [ -d "vim" ]
then
cd ${VIMGIT} || exit 42;
${GIT} pull
cd ${VIMGIT} || exit 2;
${GIT} checkout master || exit 3;
${GIT} pull || exit 4;
else
${GIT} clone https://github.com/vim/vim ${VIMGIT}
cd ${VIMGIT} || exit 42;
${GIT} clone https://github.com/vim/vim ${VIMGIT} || exit 5;
cd ${VIMGIT} || exit 6;
fi
################################################################################
# clean
${GIT} clean -fdx
${GIT} clean -fdx || exit 6;
################################################################################
# compile and install
./configure --enable-python3interp=yes --prefix="${GITDIR}"/.vim/${VIMGIT}/install
./configure --enable-python3interp=yes \
--enable-cscope \
--enable-gnome-check \
--with-x \
--prefix="${GITDIR}"/.vim/${VIMGIT}/install
make -j
make install