forked from paulirish/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
54 lines (40 loc) · 901 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
44
45
46
47
48
49
50
51
52
53
default: help
help:
@echo 'available tasks:'
@echo 'all - install all the crap'
@echo 'mac example: PLATFORM=mac make all'
@echo 'linux example: PLATFORM=linux make all'
.PHONY: default all help
all:
ifndef PLATFORM
@echo 'PLATFORM is not defined'
@exit 1
endif
ifeq ($(PLATFORM), linux)
$(MAKE) linux
endif
ifeq ($(PLATFORM), mac)
$(MAKE) mac
endif
mac: intellij zshrc vim git tmux z
linux: intellij bashrc vim git tmux z
vim:
cp -r .vim ~/
cp .vimrc ~/
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
wget -O ~/.vim/colors/molokai.vim https://raw.githubusercontent.com/tomasr/molokai/master/colors/molokai.vim
intellij:
cp -r .ideavimrc ~/
zshrc:
cp -r .zshrc ~/
bashrc:
cp -r .bashrc ~/
tmux:
cp -r .tmux.conf ~/
git:
cp -r .gitconfig ~/
nvim:
cp -r .config ~/
z:
git clone [email protected]:rupa/z.git
cp -r z ~/