summaryrefslogtreecommitdiff
path: root/fabfile.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-07-16 17:23:10 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-07-16 17:23:10 -0400
commit1731782113189256e11d7070ff19dfee8658a230 (patch)
treefcffe29740b7a72f5dd2b34db96aeecd4e05d58e /fabfile.py
parent2d7fc6d10808d57f5af6034e6ac09c451658ff82 (diff)
downloadtablib-1731782113189256e11d7070ff19dfee8658a230.tar.gz
general update
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/fabfile.py b/fabfile.py
new file mode 100644
index 0000000..d29811e
--- /dev/null
+++ b/fabfile.py
@@ -0,0 +1,27 @@
+from fabric.api import *
+
+
+def scrub():
+ """ Death to the bytecode! """
+ local("rm -fr dist build")
+ local("find . -name \"*.pyc\" -exec rm '{}' ';'")
+
+def test():
+ """ Test parsing! """
+ local("rm output/*")
+ local("./strata.py --nsanity_files 'strata/tests/samples/nsanity' -d")
+
+def build():
+ """ Build application"""
+ pass
+
+def init():
+ """ Initialize Environment """
+ # TODO: Possibly add Virtual Environment?
+ local("sudo pip install -r REQUIREMENTS")
+
+if __name__ == '__main__':
+ # TODO: Remove (for testing purposes)
+ # TODO: [Possibly] add doctests
+ test()
+ \ No newline at end of file