forked from colonelpanic/dotfiles
install brew cask before cidering.
This commit is contained in:
parent
c24c9f2dc7
commit
6b0965370b
@ -48,14 +48,17 @@ CASKS = (
|
|||||||
'mactex'
|
'mactex'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
def osx_config(ctx):
|
def osx_config(ctx):
|
||||||
ctx.run('sudo {0}'.format(
|
ctx.run('sudo {0}'.format(
|
||||||
os.path.join(util.RESOURCES_DIRECTORY, 'osx.sh')
|
os.path.join(util.RESOURCES_DIRECTORY, 'osx.sh')
|
||||||
), pty=True)
|
), pty=True)
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
def cider_install(ctx):
|
def cider_install(ctx):
|
||||||
|
ctx.run('brew install caskroom/cask/brew-cask')
|
||||||
if not util.command_exists('cider'):
|
if not util.command_exists('cider'):
|
||||||
ctx.run('sudo pip install cider')
|
ctx.run('sudo pip install cider')
|
||||||
ctx.run('cider restore')
|
ctx.run('cider restore')
|
||||||
@ -74,6 +77,7 @@ def get_brew(ctx):
|
|||||||
if not util.command_exists('brew'):
|
if not util.command_exists('brew'):
|
||||||
ctx.run('ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"')
|
ctx.run('ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"')
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
def brew_install(ctx):
|
def brew_install(ctx):
|
||||||
ctx.run('brew update')
|
ctx.run('brew update')
|
||||||
|
Loading…
Reference in New Issue
Block a user