|
@ -46,9 +46,8 @@ async def run_command_shell( |
|
|
process_stdout, process_stderr = await process.communicate() |
|
|
process_stdout, process_stderr = await process.communicate() |
|
|
|
|
|
|
|
|
if process.returncode == 0: |
|
|
if process.returncode == 0: |
|
|
for callable in on_success: |
|
|
|
|
|
if callable is not None: |
|
|
|
|
|
callable() |
|
|
|
|
|
|
|
|
for success_callable in on_success: |
|
|
|
|
|
success_callable() |
|
|
|
|
|
|
|
|
if stdout != asyncio.subprocess.DEVNULL: |
|
|
if stdout != asyncio.subprocess.DEVNULL: |
|
|
result = process_stdout.decode().strip() |
|
|
result = process_stdout.decode().strip() |
|
@ -725,7 +724,7 @@ def compress_assets(ctx, profile, content, destination, print_input_and_identity |
|
|
) |
|
|
) |
|
|
) |
|
|
) |
|
|
return task |
|
|
return task |
|
|
return None |
|
|
|
|
|
|
|
|
return lambda: True |
|
|
|
|
|
|
|
|
for input_file in files: |
|
|
for input_file in files: |
|
|
for content_configuration in content_configurations: |
|
|
for content_configuration in content_configurations: |
|
|