linux wip.

This commit is contained in:
2014-11-11 13:32:13 -08:00
parent 3fd2353544
commit 4be07715b7
11 changed files with 25 additions and 195 deletions

View File

@@ -1,5 +1,9 @@
import os
from invoke import ctask
from util import RESOURCES_DIRECTORY
@ctask(default=True)
def all(ctx):
@@ -24,3 +28,16 @@ def get_sbt(ctx):
ctx.run('wget http://dl.bintray.com/sbt/debian/sbt-0.13.5.deb '
'--output-document=sbt.deb; sudo dpkg -i sbt.deb; '
'sudo apt-get update; sudo apt-get install sbt; rm sbt.deb')
@ctask
def get_spotify(ctx):
pass
@ctask
def monaco(ctx):
ctx.run("sudo cp {0} /usr/share/fonts/fontfiles".format(
os.path.join(RESOURCES_DIRECTORY, "Monaco-Powerline.otf")
))
ctx.run("sudo fc-cache -fv")