Sha256: 52aaf943e4e2ce026391d028dcd4cbefabf725ebaa68d3ec05cbb0129566fdfd

Contents?: true

Size: 768 Bytes

Versions: 9

Compression:

Stored size: 768 Bytes

Contents

@echo off


@rem We're in a submodule directory, look relative to the parent.
call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
goto omega

:srcdir
call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
goto omega

@rem Per the following page:
@rem   http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batch-file-that-is-run-from-a-python-program/
@rem Just calling "exit /b" passes back an exit code, but in a way
@rem that does NOT get picked up correctly when executing the .bat
@rem file from the Python subprocess module.  Using "call" as the
@rem last command in the .bat file makes it work as expected.

:returncode
exit /b %ERRORLEVEL%

:omega
call :returncode %ERRORLEVEL%

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
libv8-5.0.71.48.3 vendor/depot_tools/hammer.bat
libv8-5.0.71.48.2 vendor/depot_tools/hammer.bat
libv8-5.0.71.48.0beta2 vendor/depot_tools/hammer.bat
libv8-4.5.95.5 vendor/depot_tools/hammer.bat
libv8-4.5.95.4 vendor/depot_tools/hammer.bat
libv8-4.5.95.3 vendor/depot_tools/hammer.bat
libv8-4.5.95.2 vendor/depot_tools/hammer.bat
libv8-4.5.95.1 vendor/depot_tools/hammer.bat
libv8-4.5.95.0 vendor/depot_tools/hammer.bat