Skip to content

Commit 11a2f6b

Browse files
Oscar TannerOscar Tanner
authored andcommitted
Fixes
1 parent f8f3eb9 commit 11a2f6b

File tree

6 files changed

+58
-32
lines changed

6 files changed

+58
-32
lines changed

.dots

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ function runDots() {
3232
echo ""
3333
./brew.sh
3434
fi
35-
if [ $ARG == "android" ] || [ $ARG == "all" ]; then
36-
# Run the android.sh Script
37-
echo "------------------------------"
38-
echo "Setting up Android development environment."
39-
echo "------------------------------"
40-
echo ""
41-
./android.sh
42-
fi
35+
# if [ $ARG == "android" ] || [ $ARG == "all" ]; then
36+
# # Run the android.sh Script
37+
# echo "------------------------------"
38+
# echo "Setting up Android development environment."
39+
# echo "------------------------------"
40+
# echo ""
41+
# ./android.sh
42+
# fi
4343
# if [ $ARG == "QA" ] || [ $ARG == "all" ]; then
4444
# # Run the qa.sh Script
4545
# echo "------------------------------"

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ dev-setup
44

55
## Utilization
66

7-
1. Download and install Xcode
8-
2. Open Xcode and accept its terms
7+
1. Download and install Xcode (If needed)
8+
2. Open Xcode and accept its terms (If you installed Xcode)
99
3. Run script
1010
```
1111
./.dots all
@@ -20,24 +20,26 @@ gem install bundler
2020
```
2121

2222
6. Reboot your machine
23-
7. Open Android Studio and install Android SDK
24-
8. Add `JAVA_HOME` to your `.extra` or `.bash_profile`
23+
7. Run `.android.sh` if you need android stuff
24+
8. Open Android Studio and install Android SDK (if you runned android script)
25+
9. Add `JAVA_HOME` to your `.extra` or `.bash_profile`
2526
```
2627
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk__VERSION__.jdk/Contents/Home
2728
export PATH="$JAVA_HOME/bin:$PATH"
2829
```
29-
9. Add `ANDROD_HOME` to your `.extra` or `.bash_profile`
30+
10. Add `ANDROD_HOME` to your `.extra` or `.bash_profile` (If you installed Android)
3031
```
3132
export ANDROID_HOME=~/Library/Android/sdk
3233
export PATH=$PATH:$ANDROID_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/lib:$ANDROID_HOME/tools/lib
3334
```
34-
10. You can add some alias to ease your life
35+
11. You can add some alias to ease your life (If you use Ruby)
3536
```
3637
alias be="bundle exec "
3738
alias bi="bundle install"
3839
```
39-
11. Install iOS provisioning profiles
40-
40+
12. Install iOS provisioning profiles
41+
13. Run `./qa.sh` if you are a QA :)
42+
14. Run `./personal.sh`
4143

4244
--------------------------
4345

brew.sh

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ brew install findutils
3838
brew install gnu-sed --with-default-names
3939
# Install Bash 4.
4040
brew install bash
41-
brew tap homebrew/versions
41+
# brew tap homebrew/versions
4242
# We installed the new shell, now we have to activate it
4343
echo "Adding the newly installed shell to the list of allowed shells"
4444
# Prompts for password
@@ -89,9 +89,9 @@ echo "$LINE" >> ~/.extra
8989

9090
# Install more recent versions of some OS X tools.
9191
brew install vim --override-system-vi
92-
brew install homebrew/dupes/grep
93-
brew install homebrew/dupes/openssh
94-
brew install homebrew/dupes/screen
92+
# brew install homebrew/dupes/grep
93+
# brew install homebrew/dupes/openssh
94+
# brew install homebrew/dupes/screen
9595
# brew install homebrew/php/php55 --with-gmp
9696

9797
# Install font tools.
@@ -167,25 +167,19 @@ brew link libxslt --force
167167
# Core casks
168168
# brew cask install --appdir="/Applications" alfred
169169
brew cask install --appdir="~/Applications" iterm2
170-
brew cask install --appdir="~/Applications" java8
171170
# brew cask install --appdir="~/Applications" xquartz
172171

173172
# Development tool casks
174-
brew cask install --appdir="/Applications" sublime-text3
173+
# brew cask install --appdir="/Applications" sublime-text
175174
# brew cask install --appdir="/Applications" atom
176175
brew cask install --appdir="/Applications" virtualbox
177-
# brew cask install --appdir="/Applications" spotify
176+
brew cask install --appdir="/Applications" spotify
178177
# brew cask install --appdir="/Applications" vagrant
179178
# brew cask install --appdir="/Applications" macdown
180179

181180
# Misc casks
182181
brew cask install --appdir="/Applications" google-chrome
183182
# brew cask install --appdir="/Applications" firefox
184-
# brew cask install --appdir="/Applications" skype
185-
brew cask install --appdir="/Applications" slack
186-
# brew cask install --appdir="/Applications" whatsapp
187-
# brew cask install --appdir="/Applications" dropbox
188-
# brew cask install --appdir="/Applications" google-backup-and-sync
189183
# brew cask install --appdir="/Applications" evernote
190184
# brew cask install --appdir="/Applications" 1password
191185
# brew cask install --appdir="/Applications" gimp

personal.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/env bash
2+
3+
# Install command-line tools using Homebrew.
4+
5+
# Ask for the administrator password upfront.
6+
sudo -v
7+
8+
# Keep-alive: update existing `sudo` time stamp until the script has finished.
9+
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
10+
11+
# Check for Homebrew,
12+
# Install if we don't have it
13+
if test ! $(which brew); then
14+
echo "Installing homebrew..."
15+
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
16+
fi
17+
18+
# Make sure we’re using the latest Homebrew.
19+
brew update
20+
21+
# Upgrade any already-installed formulae.
22+
brew upgrade --all
23+
24+
brew cask install --appdir="/Applications" whatsapp
25+
brew cask install --appdir="/Applications" dropbox
26+
brew cask install --appdir="/Applications" skype
27+
brew cask install --appdir="/Applications" google-backup-and-sync
28+
29+
# Install Emacs
30+
brew cask install emacs
31+
git clone git@github.com:oscartanner/emacs.git ~/.emacs.d

qa.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ brew update
2020

2121
brew install node
2222

23-
# Install Emacs
24-
brew cask install emacs
25-
2623
# Install Appium iOS Dependencies
2724
brew install carthage
2825
brew install libimobiledevice --HEAD

work.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ brew update
2121
# Install Cask
2222
brew tap caskroom/versions
2323

24+
brew cask install java8
25+
2426
brew cask install --appdir="~/Applications" intellij-idea
2527
brew cask install --appdir="~/Applications" robo-3t
2628
# brew cask install --appdir="~/Applications" cleanmymac
2729
# brew cask install --appdir="~/Applications" charles
2830
# brew cask install --appdir="~/Applications" paw
2931
brew cask install --appdir="~/Applications" zeplin
3032
brew cask install --appdir="~/Applications" docker
31-
33+
brew cask install --appdir="/Applications" slack
3234

3335
brew install maven
3436
# brew install postgres

0 commit comments

Comments
 (0)