mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 15:00:19 +00:00
27 lines
571 B
Python
27 lines
571 B
Python
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()
|
|
|