From 003c0235164dd5f7941c6744bab185ac0aa148ba Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 8 Dec 2014 05:19:55 -0800 Subject: [PATCH] get_hub in linux.py --- tasks/linux.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/linux.py b/tasks/linux.py index e82450b3..4178b102 100644 --- a/tasks/linux.py +++ b/tasks/linux.py @@ -33,6 +33,16 @@ def get_sbt(ctx): '--output-document=sbt.deb; sudo dpkg -i sbt.deb; ' 'sudo apt-get update; sudo apt-get install sbt; rm sbt.deb') +@ctask +def get_hub(ctx): + ctx.run("""git clone https://github.com/github/hub.git && +cd hub && +./script/build && +cp hub /usr/bin && +sudo chown root /usr/bin/hub && +sudo chmod 777 /usr/bin/hub""") + + @ctask def get_spotify(ctx):