#!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}")" \
    && . "./utils.sh"

install_brew_cask_apps() {
    # Install native apps
    brew_install "spectacle" "spectacle" "caskroom/cask" "cask"
    brew_install "dropbox" "dropbox" "caskroom/cask" "cask"
    brew_install "slack" "slack" "caskroom/cask" "cask"

    # dev
    brew_install "iterm2" "iterm2" "caskroom/cask" "cask"
    brew_install "sourcetree" "sourcetree" "caskroom/cask" "cask"

    # fonts
    brew_install "meslo font for powerline" "font-meslo-lg-for-powerline" "caskroom/fonts" "cask"

    # other stuff
    brew_install "vlc" "vlc" "caskroom/cask" "cask"
    brew_install "utorrent" "utorrent" "caskroom/cask" "cask"
}

main() {
    print_in_purple "\n   Brew Cask\n\n"

    install_brew_cask_apps
    printf "\n"
    brew_cleanup
}

main

#!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}")" \
    && . "./utils.sh"

install_brew_cask_apps() {
    # Install native apps
    brew_install "spectacle" "spectacle" "caskroom/cask" "cask"
    brew_install "dropbox" "dropbox" "caskroom/cask" "cask"
    brew_install "gyazo" "gyazo" "caskroom/cask" "cask"
    brew_install "slack" "slack" "caskroom/cask" "cask"

    # dev
    brew_install "iterm2" "iterm2" "caskroom/cask" "cask"
    brew_install "sourcetree" "sourcetree" "caskroom/cask" "cask"

    # browsers
    brew_install "Chrome Canary" "google-chrome-canary" "caskroom/versions" "cask"
    brew_install "Firefox Nightly" "firefoxnightly" "caskroom/versions" "cask"

    # fonts
    brew_install "meslo font for powerline" "font-meslo-lg-for-powerline" "caskroom/fonts" "cask"

    # other stuff
    brew_install "vlc" "vlc" "caskroom/cask" "cask"
    brew_install "utorrent" "utorrent" "caskroom/cask" "cask"
}

main() {
    print_in_purple "\n   Brew Cask\n\n"

    install_brew_cask_apps
    printf "\n"
    brew_cleanup
}

main

--- 
+++ 
@@ -7,11 +7,16 @@
     # Install native apps
     brew_install "spectacle" "spectacle" "caskroom/cask" "cask"
     brew_install "dropbox" "dropbox" "caskroom/cask" "cask"
+    brew_install "gyazo" "gyazo" "caskroom/cask" "cask"
     brew_install "slack" "slack" "caskroom/cask" "cask"
 
     # dev
     brew_install "iterm2" "iterm2" "caskroom/cask" "cask"
     brew_install "sourcetree" "sourcetree" "caskroom/cask" "cask"
+
+    # browsers
+    brew_install "Chrome Canary" "google-chrome-canary" "caskroom/versions" "cask"
+    brew_install "Firefox Nightly" "firefoxnightly" "caskroom/versions" "cask"
 
     # fonts
     brew_install "meslo font for powerline" "font-meslo-lg-for-powerline" "caskroom/fonts" "cask"
[macos] Remove unused apps from brew cask script
