Skip to content

Commit

Permalink
Merge pull request #23 from Yoobic/add-spectacle-app
Browse files Browse the repository at this point in the history
feat(app): Added the Spectacle app
  • Loading branch information
Ijmir committed Feb 10, 2015
2 parents 6570762 + 7eb4a55 commit 92bacec
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ curl -L https://raw.githubusercontent.com/Yoobic/install-mac/master/install.sh |
* Mongodb
* Skype
* Slack
* Spectacle
* Sublime Text 3
* VirtualBox

Expand Down
26 changes: 20 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ inquirer_software() {
"Mongo" "Mongodb" on
"Skype" "Skype" on
"Slack" "Slack" on
"Spectacle" "Spectacle" on
"SublimeText3" "Sublime Text 3" on
"VirtualBox" "Virtual Box" on
"Bower" "Bower" on
Expand Down Expand Up @@ -141,12 +142,25 @@ inquirer_software

############ SOFTWARE ############
echo_title "BEGIN INSTALLING SOFTWARE"
brew install tree
brew install wget
brew install imagemagick
brew install git
brew install python

if ( ! which tree >/dev/null); then
brew install tree;
fi
if ( ! which wget >/dev/null); then
brew install wget;
fi
if ( ! which imagemagick >/dev/null); then
brew install imagemagick;
fi
if ( ! which git >/dev/null); then
brew install git;
fi
if ( ! which python >/dev/null); then
brew install python;
fi

if ([[ $choice == *"all"* ]] || [[ $choice == "Spectacle" ]]); then
brew cask install spectacle --force
fi
if ([[ $choice == *"all"* ]] || [[ $choice == "SublimeText3" ]]); then
brew cask install sublime-text3 --force
fi
Expand Down
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ check_file "$(which subl)" "subl" # check Sublime Text version
check_file $HOME/.zshrc
check_file "$app_folder/Sublime Text.app" # check Sublime Text software
check_file "$app_folder/iTerm.app" # check iTerm2 software
check_file "$app_folder/Spectacle.app" # check iTerm2 software
#check_file "$app_folder/alfred.app" # check iTerm2 software
check_file "$app_folder/Dropbox.app" # check Dropbox software
check_file "$app_folder/Skype.app" # check Skype software
Expand Down

0 comments on commit 92bacec

Please sign in to comment.