-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
71 lines (58 loc) · 2.11 KB
/
Copy pathMakefile
File metadata and controls
71 lines (58 loc) · 2.11 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
mac: installbrews installdb relink sshkeys vimdeps getdevrepos pythondeps rubydeps jsdeps
linux: relink aptget
vagrant:
relink:
./scripts/bin/relink
. ~/.bash_profile
sshkeys:
@echo Installing SSH keys...
mkdir -p ~/.ssh
cp ~/Dropbox/keys/* ~/.ssh
chmod 700 ~/.ssh/*
installbrews:
@echo Installing homebrew packages...
while read line; do \
brew install "$$line"; \
done < ./scripts/setup/mac/brew.list
cd /usr/local/library && git stash && git clean -d -f
brew update
installdb:
initdb /usr/local/var/postgres -E utf8
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/postgresql/9.3.1/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
launchctl load -w /Users/mattcaldwell/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
getdevrepos:
@while read line; do \
IFS=/ read -r account repo <<< "$$line"; \
cd ~/Development; mkdir -p "$$account"; cd "$$account"; git clone git@github.com:$$line; \
done < ./scripts/setup/repos.list
vimdeps:
@echo Installing vim dependencies...
rm -rf ~/.vim/bundle
mkdir -p ~/.vim/bundle
cd ~/.vim/bundle; git clone https://github.com/Valloric/YouCompleteMe.git; cd YouCompleteMe; git submodule update --init --recursive; ./install.sh --clang-completer
pythondeps:
@echo Installing global Python dependencies...
sudo easy_install pip
sudo pip install -r ./scripts/setup/requirements.txt
rubydeps:
@echo Installing ruby dependencies...
@if [ ! -f "$$HOME/.rvm/bin/rvm" ]; then \
\curl -L https://get.rvm.io | bash -s stable; \
fi
@rvm use --default --install 1.9.3
@echo "Installing ruby gems..."
@while read line; do \
IFS=" " read -r gem version <<< "$$line"; \
echo Installing $$gem ...; \
/bin/bash -l -c ". ~/.rvm/scripts/rvm; rvm use 1.9.3; gem install $$gem --version $${version//[()]/}"; \
done < ./scripts/setup/gems.list
jsdeps:
@echo Installing js dependencies...
@cd ~/Development/joyent/node; ./configure --prefix=~/local; make install
@cd ~/Development/isaacs/npm; make install
@while read line; do \
npm install -g "$$line"; \
done < ./scripts/setup/npm.list
aptget: