Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (26 sloc) 750 Bytes
Fab commands for Pony Mode
from fabric.api import task, hosts, local, lcd, cd, run
from fabric import operations
deadpan = ""
def make_docs():
Rebuild the documentation
with lcd("doc/"):
local("make html")
def upload_docs():
Build, compress, upload and extract the latest docs
with lcd("doc/build/html"):
local("rm -rf pony-mode-docs.tar.gz")
local("tar zcvf pony-mode-docs.tar.gz *")
with cd("/home/happenup/webapps/ponydocs/"):
run("tar zxvf pony-mode-docs.tar.gz")
Jump to Line
Something went wrong with that request. Please try again.