def foreach_package(c):
    """Print the package url for each sub directory"""

    for d in foreach_metapack_subdir():
        c.run('mp info -p')
def update_files(c):
    """Print the package url for each sub directory"""

    for d in foreach_metapack_subdir(c):
        c.run('mp update -f -S')
Esempio n. 3
0
def index(c):
    """Print the package url for each sub directory"""

    for d in foreach_metapack_subdir():
        c.run('mp index .')
def reset_tasks(c):
    """Reset the tasks.py file in each subdirectory"""

    for d in foreach_metapack_subdir():
        c.run('rm tasks.py')
        c.run('mp update -f')
def foreach_package(c):
    """Print the package url for each sub directory"""

    for d in foreach_metapack_subdir():
        c.run("mp update -f")