aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: bc8a868dd0a7a268cc41be77fff23e20187c2d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/env bash

# Welcome to Vimax!
THIS_DIR=$(dirname $(realpath $0))

pushd .

# Change to this files directory
cd $THIS_DIR

# Fetch dependencies (git submodules)...
awk '/path = (.*)/{PATH=$3;next} /url = /{URL=$3;next} URL{system("git submodule add " URL " " PATH)}' .gitmodules
git submodule update --init --remote --progress --recursive

# compile YouCompleteMe
# dependencies: python-certifi
cd $THIS_DIR/pack/vim/opt/YouCompleteMe
./install.py --clang-completer




popd
..