From 6b0965370b9b5aeaf7684c0257849197eb7aa3f3 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 10 Nov 2014 00:13:30 -0800 Subject: [PATCH] install brew cask before cidering. --- tasks/osx.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/osx.py b/tasks/osx.py index 3fadb804..158e80e1 100644 --- a/tasks/osx.py +++ b/tasks/osx.py @@ -48,14 +48,17 @@ CASKS = ( 'mactex' ) + @ctask def osx_config(ctx): ctx.run('sudo {0}'.format( os.path.join(util.RESOURCES_DIRECTORY, 'osx.sh') ), pty=True) + @ctask def cider_install(ctx): + ctx.run('brew install caskroom/cask/brew-cask') if not util.command_exists('cider'): ctx.run('sudo pip install cider') ctx.run('cider restore') @@ -74,6 +77,7 @@ def get_brew(ctx): if not util.command_exists('brew'): ctx.run('ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"') + @ctask def brew_install(ctx): ctx.run('brew update')