Files
tablib/fabfile.py
T
Kenneth Reitz 140736ff33 fabfile typo.
2011-01-31 01:34:40 -05:00

17 lines
389 B
Python

import os
from fabric.api import *
def scrub():
""" Death to the bytecode! """
local('rm -fr dist build')
local("find . -name \"*.pyc\" -exec rm '{}' ';'")
def docs():
"""Build docs."""
os.system('make html')
os.chdir('_build/html')
os.system('sphinxtogithub .')
os.system('git add -A')
os.system('git commit -m \'documentation update\'')
os.system('git push origin gh-pages')