stash
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user