예제 #1
0
def production():
    "Production nodes"
    for node in instances('^production-'):
        use(node)
예제 #2
0
def nodes(exp):
    "Select nodes based on a regular expression"
    for node in instances(exp):
        use(node)
예제 #3
0
def all():
    "All nodes"
    for node in instances():
        use(node)
예제 #4
0
def preview():
    "Preview nodes"
    for node in instances('^preview-'):
        use(node)
예제 #5
0
파일: tasks.py 프로젝트: scottbessler/cloth
def nodes(exp):
    "Select nodes based on a regular expression"
    for node in instances(exp):
        use(node)
예제 #6
0
파일: tasks.py 프로젝트: scottbessler/cloth
def production():
    "Production nodes"
    for node in instances('^production-'):
        use(node)
예제 #7
0
파일: tasks.py 프로젝트: scottbessler/cloth
def preview():
    "Preview nodes"
    for node in instances('^preview-'):
        use(node)
예제 #8
0
파일: tasks.py 프로젝트: scottbessler/cloth
def all():
    "All nodes"
    for node in instances():
        use(node)
예제 #9
0
파일: tasks.py 프로젝트: dsummersl/cloth
def exclude(exp):
    "Exclude nodes based on a regular expression"
    for node in instances(exp,env.nodes):
        unuse(node)