aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaralan Dobrev <hkdobrev@gmail.com>2014-04-05 15:02:43 +0300
committerMathias Bynens <mathias@qiwi.be>2014-04-07 17:18:58 +0200
commit233f2be0a6f5af056ba7e956b3d7b227af283bf9 (patch)
tree90810cffb4d01c9ce505c406bdb6f0c79ffb7a35
parentdeb0a88b340e06f8ad11de585b681fd527dae763 (diff)
downloaddotfiles-233f2be0a6f5af056ba7e956b3d7b227af283bf9.tar.gz
dotfiles-233f2be0a6f5af056ba7e956b3d7b227af283bf9.tar.bz2
dotfiles-233f2be0a6f5af056ba7e956b3d7b227af283bf9.zip
Install casks via Caskfile
`brew bundle` can now be used for casks as well. Closes #365.
-rwxr-xr-x.cask26
-rwxr-xr-xBrewfile3
-rwxr-xr-xCaskfile24
-rw-r--r--README.md2
4 files changed, 28 insertions, 27 deletions
diff --git a/.cask b/.cask
deleted file mode 100755
index acd76b4..0000000
--- a/.cask
+++ /dev/null
@@ -1,26 +0,0 @@
-# Install native apps
-brew install phinze/cask/brew-cask
-brew tap caskroom/versions
-
-function installcask() {
- brew cask install "${@}" 2> /dev/null
-}
-
-installcask dropbox
-installcask google-chrome
-installcask google-chrome-canary
-installcask imagealpha
-installcask imageoptim
-installcask iterm2
-installcask macvim
-installcask miro-video-converter
-installcask opera
-installcask opera-developer
-installcask opera-next
-installcask sublime-text
-installcask the-unarchiver
-installcask tor-browser
-installcask transmission
-installcask ukelele
-installcask virtualbox
-installcask vlc
diff --git a/Brewfile b/Brewfile
index f0a2961..213947b 100755
--- a/Brewfile
+++ b/Brewfile
@@ -1,3 +1,6 @@
+# Install command-line tools using Homebrew
+# Usage: `brew bundle Brewfile`
+
# Make sure we’re using the latest Homebrew
update
diff --git a/Caskfile b/Caskfile
new file mode 100755
index 0000000..66fe82e
--- /dev/null
+++ b/Caskfile
@@ -0,0 +1,24 @@
+# Install native apps
+# Usage: `brew bundle Caskfile`
+
+install phinze/cask/brew-cask
+tap caskroom/versions
+
+cask install dropbox 2> /dev/null
+cask install google-chrome 2> /dev/null
+cask install google-chrome-canary 2> /dev/null
+cask install imagealpha 2> /dev/null
+cask install imageoptim 2> /dev/null
+cask install iterm2 2> /dev/null
+cask install macvim 2> /dev/null
+cask install miro-video-converter 2> /dev/null
+cask install opera 2> /dev/null
+cask install opera-developer 2> /dev/null
+cask install opera-next 2> /dev/null
+cask install sublime-text 2> /dev/null
+cask install the-unarchiver 2> /dev/null
+cask install tor-browser 2> /dev/null
+cask install transmission 2> /dev/null
+cask install ukelele 2> /dev/null
+cask install virtualbox 2> /dev/null
+cask install vlc 2> /dev/null
diff --git a/README.md b/README.md
index e378df7..102092b 100644
--- a/README.md
+++ b/README.md
@@ -82,7 +82,7 @@ brew bundle ~/Brewfile
You could also install native apps with [`brew cask`](https://github.com/phinze/homebrew-cask):
```bash
-./.cask
+brew bundle ~/Caskfile
```
## Feedback