|
|
@ -110,12 +110,14 @@ def add_subproject(ctx, names): |
|
|
|
ctx.msg(msg='--X %s' % depth(), result='ignored', color='YELLOW') |
|
|
|
ctx.msg(msg='--X %s' % depth(), result='ignored', color='YELLOW') |
|
|
|
depth_pop() |
|
|
|
depth_pop() |
|
|
|
return |
|
|
|
return |
|
|
|
ctx.setenv(name, ctx.env) # derive new env from |
|
|
|
saveenv = ctx.env |
|
|
|
|
|
|
|
ctx.setenv(name, ctx.env) # derive new env from previous |
|
|
|
ctx.env.ENVNAME = name |
|
|
|
ctx.env.ENVNAME = name |
|
|
|
ctx.msg(msg='--> %s' % depth(), result='in progress', color='BLUE') |
|
|
|
ctx.msg(msg='--> %s' % depth(), result='in progress', color='BLUE') |
|
|
|
ctx.recurse(name) |
|
|
|
ctx.recurse(name) |
|
|
|
ctx.msg(msg='<-- %s' % depth(), result='done', color='BLUE') |
|
|
|
ctx.msg(msg='<-- %s' % depth(), result='done', color='BLUE') |
|
|
|
ctx.setenv('') |
|
|
|
ctx.setenv('') # save env changes |
|
|
|
|
|
|
|
ctx.env = saveenv # but use previous |
|
|
|
depth_pop() |
|
|
|
depth_pop() |
|
|
|
else: |
|
|
|
else: |
|
|
|
if not ctx.all_envs: |
|
|
|
if not ctx.all_envs: |
|
|
|