Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.58 KB | None | 0 0
  1. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject
  2.  
  3. @setlocal enableextensions enabledelayedexpansion
  4.  
  5. @if not exist "project.properties" @echo Build script must be executed from project directory. & goto :Abort
  6.  
  7. @set P=..
  8.  
  9. :TryAgain
  10.  
  11. @rem @echo P = %P%
  12.  
  13. @if exist "%P%\bin\scripts\build\build.py.bat" goto :Found
  14.  
  15. @if exist "%P%\bin\scripts\build" @echo "Could not find build.py.bat" & goto :Abort
  16.  
  17. @set P=%P%\..
  18.  
  19. @goto :TryAgain
  20.  
  21. :Found
  22.  
  23. @set P=%P%\bin\scripts\build
  24. @call %P%\build.py.bat %1 %2 %3 %4 %5
  25. @goto :End
  26.  
  27. :Abort
  28.  
  29. :End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement