summaryrefslogtreecommitdiff
path: root/fabfile.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-10-08 11:49:53 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-10-08 11:49:53 -0400
commit55eb3f93e37141ed33455bc4b7db4b6f721445fd (patch)
tree469f6bbae68a614ea2ff52817a75db888b8121e4 /fabfile.py
parentbe7182aea958520a9a2c37ae05130c88119f4e8d (diff)
downloadtablib-55eb3f93e37141ed33455bc4b7db4b6f721445fd.tar.gz
documentation update
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/fabfile.py b/fabfile.py
index 887bc25..e0375ba 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -1,7 +1,14 @@
+import os
from fabric.api import *
def scrub():
""" Death to the bytecode! """
- local("rm -fr dist build")
+ local('rm -fr dist build')
local("find . -name \"*.pyc\" -exec rm '{}' ';'")
+
+def docs():
+ """Build docs."""
+ os.system('make html')
+ os.system('cd _build/html')
+ os.system('git commit -am \'documentation update\'') \ No newline at end of file