Example #1
0
def build_docs(path="./docs/", command="make html"):
    import fabuild as fb

    with fab.lcd(path):
        fb.build_run(command)
Example #2
0
def develop():
    """Runs `serve` and `regenerate` in parallel."""
    import fabuild as fb
    fb.build_run(serve, async=True)
    fb.build_run(regenerate)
Example #3
0
def run():
    import fabuild as fb

    fab.execute(watch)

    fb.build_run("cd build; python -m SimpleHTTPServer 8000", keep_alive=1)