def build(pattern=None, path='.'): """Generates a static copy of the sources """ path = abspath(path) c = Clay(path) c.build(pattern)
def run(host=DEFAULT_HOST, port=DEFAULT_PORT, path='.'): """Run the development server """ path = abspath(path) c = Clay(path) c.run(host=host, port=port)