示例#1
0
文件: build.py 项目: raffber/wasp
def test():
    yield find_exe("py.test", argprefix="pytest").produce(":pytest")
    yield shell("{pytest} tests").use(":pytest")
示例#2
0
文件: d.py 项目: raffber/wasp
def find_dc(names=COMPILER_NAMES, dirs=COMPILER_DIRS, produce=True):
    ret = find_exe(*names, dirs=dirs, argprefix='dc').produce(':d/dc')
    if produce:
        ret.produce(':d/dc')
    return ret
示例#3
0
文件: sphinx.py 项目: raffber/capnqml
def find(produce=True):
    ret = find_exe('sphinx-build', argprefix='sphinx_build')
    if produce:
        ret.produce(':sphinx/sphinx_build')
    return ret