mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 15:00:19 +00:00
17 lines
425 B
Python
17 lines
425 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 dirhtml')
|
|
os.chdir('_build/dirhtml')
|
|
os.system('sphinxtogithub .')
|
|
os.system('git add -A')
|
|
os.system('git commit -m \'documentation update\'')
|
|
os.system('git push origin gh-pages') |