-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (31 loc) · 936 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
CWD=$(shell pwd)
install: submodules vim git python js
submodules:
git submodule init
git submodule update --remote
vim: .PHONEY
ln -sf $(CWD)/vim ~/.vim
ln -sf ~/.vim/vimrc ~/.vimrc
vim +PluginInstall +qall
# FIXME: Fails if vim version is too low
you-complete-me: .PHONEY
cd vim/bundle/YouCompleteMe && \
./install.py --clang-completer --omnisharp-completer --gocode-completer
neovim-python-support: .PHONEY
pip install neovim
neovim: .PHONEY you-complete-me neovim-python-support
mkdir -p ~/.config/nvim
ln -sf $(CWD)/vim/* ~/.config/nvim/
ln -sf $(CWD)/vim/vimrc ~/.config/nvim/init.vim
git: .PHONEY
ln -sf $(CWD)/git/gitconfig ~/.gitconfig
python: .PHONEY
ln -sf $(CWD)/python/pylintrc ~/.pylintrc
js: .PHONEY
ln -sf $(CWD)/python/jshintrc ~/.jshintrc
tmux: .PHONEY
ln -sf $(CWD)/tmux ~/.tmux
ln -sf ~/.tmux/tmux.conf ~/.tmux.conf
bash: .PHONEY
ln -sf $(CWD)/bash/bash_profile ~/.bash_profile
.PHONEY: