Maybe now?

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-08-08 00:43:20 +02:00
parent bee4bef420
commit f3c6f267a2

View File

@@ -56,7 +56,7 @@ def sphinx_slave(platform, git_mode = 'incremental'):
# Was the build started from the force build form with a "fullclean"
# property set? If so, clobber the checkout folders.
if platform.startswith('win'):
cmd = 'cmd /c '+ WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q .\* && for /d %x in (.\*) do @rd /s /q %x && echo "fully cleaned")')
cmd = ' '.join(['cmd /c ',WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q destination\* && for /d %x in (destination\*) do @rd /s /q %x && echo "fully cleaned")')])
else:
cmd = ['bash', '-c',
WithProperties('if [ %(fullclean:-no)s == yes ]; then echo `pwd`; rm -rfv build; echo fully cleaned; fi'),
@@ -80,7 +80,7 @@ def javascript_slave(platform, cmake_args = [], cmake_env = {}, build_args = [],
# Was the build started from the force build form with a "fullclean"
# property set? If so, clobber the checkout folders.
if platform.startswith('win'):
cmd = 'cmd /c '+ WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q .\* && for /d %x in (.\*) do @rd /s /q %x && echo "fully cleaned")')
cmd = ' '.join(['cmd /c ',WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q destination\* && for /d %x in (destination\*) do @rd /s /q %x && echo "fully cleaned")')])
else:
cmd = ['bash', '-c',
WithProperties('if [ %(fullclean:-no)s == yes ]; then echo `pwd`; rm -rfv build; echo fully cleaned; fi'),
@@ -108,7 +108,7 @@ def python_slave(key, platform, cmake_args = [], cmake_env = {}, build_args = []
# Was the build started from the force build form with a "fullclean"
# property set? If so, clobber the checkout folders.
if platform.startswith('win'):
cmd = 'cmd /c '+ WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q .\* && for /d %x in (.\*) do @rd /s /q %x && echo "fully cleaned")')
cmd = ' '.join(['cmd /c ',WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q destination\* && for /d %x in (destination\*) do @rd /s /q %x && echo "fully cleaned")')])
else:
cmd = ['bash', '-c',
WithProperties('if [ %(fullclean:-no)s == yes ]; then echo pwd; rm -rfv *; echo fully cleaned; fi'),
@@ -154,7 +154,7 @@ def cmake_slave(mod_name, platform, git_mode = 'incremental', install = True, cm
# Was the build started from the force build form with a "fullclean"
# property set? If so, clobber the checkout folders.
if platform.startswith('win'):
cmd = 'cmd /c '+ WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q destination\* && for /d %x in (destination\*) do @rd /s /q %x && echo "fully cleaned")')
cmd = ' '.join(['cmd /c ',WithProperties('IF "%(fullclean:-no)s" == "yes" (echo %CD% && del /q destination\* && for /d %x in (destination\*) do @rd /s /q %x && echo "fully cleaned")')])
else:
cmd = ['bash', '-c',
WithProperties('if [ %(fullclean:-no)s == yes ]; then echo pwd; rm -rf *; echo fully cleaned; fi'),