-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
46 lines (40 loc) · 1.18 KB
/
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
DOTFILES := $(PWD)
install:
bash $(DOTFILES)/macsetup
deploy-patch:
bumpversion patch
git push
git push --tags
deploy-minor:
bumpversion minor
git push
git push --tags
deploy-major:
bumpversion major
git push
git push --tags
create-brewfile:
brew bundle dump --force
setup-tree:
mkdir -p ${HOME}/.virtualenvs
mkdir -p ${HOME}/Downloads
mkdir -p ${HOME}/code
mkdir -p ${HOME}/Repos
mkdir -p ${HOME}/.pip
mkdir -p ${HOME}/.environment
rm -f ${HOME}/.bash_profile
rm -f ${HOME}/.inputrc
rm -f ${HOME}/.bin
ln -fsn $(DOTFILES)/bash_profile ${HOME}/.bash_profile
ln -fsn $(DOTFILES)/home/agrc ${HOME}/.agrc
ln -fsn $(DOTFILES)/home/dircolors ${HOME}/.dircolors
ln -fsn $(DOTFILES)/home/direnvrc ${HOME}/.direnvrc
ln -fsn $(DOTFILES)/home/gitconfig ${HOME}/.gitconfig
ln -fsn $(DOTFILES)/home/gitignore ${HOME}/.gitignore
ln -fsn $(DOTFILES)/home/gitmessage ${HOME}/.gitmessage
ln -fsn $(DOTFILES)/home/hushlogin ${HOME}/.hushlogin
ln -fsn $(DOTFILES)/home/inputrc ${HOME}/.inputrc
ln -fsn $(DOTFILES)/home/nanorc ${HOME}/.nanorc
ln -fsn $(DOTFILES)/home/pip.conf ${HOME}/.pip/pip.conf
ln -fsn $(DOTFILES)/home/tmux.conf ${HOME}/.tmux.conf
ln -s $(DOTFILES)/bin ${HOME}/.bin