Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: depot_tools/hammer.bat

Issue 92087: Create the Next Generation of depot_tools. Eh. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « depot_tools/hammer ('k') | depot_tools/presubmit.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ native
OLDNEW
(Empty)
1 @echo off
2
3
4 @rem We're in a submodule directory, look relative to the parent.
5 call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
6 goto omega
7
8 :srcdir
9 call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
10 goto omega
11
12 @rem Per the following page:
13 @rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batc h-file-that-is-run-from-a-python-program/
14 @rem Just calling "exit /b" passes back an exit code, but in a way
15 @rem that does NOT get picked up correctly when executing the .bat
16 @rem file from the Python subprocess module. Using "call" as the
17 @rem last command in the .bat file makes it work as expected.
18
19 :returncode
20 exit /b %ERRORLEVEL%
21
22 :omega
23 call :returncode %ERRORLEVEL%
OLDNEW
« no previous file with comments | « depot_tools/hammer ('k') | depot_tools/presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698