Simplify the script. It now allows normal ant targets and flags to be passed straight through. For example

build –v clean
build all –k


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@778 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen 2006-07-05 21:09:05 +00:00
parent 3477b5f360
commit 7a6de05113
1 changed files with 1 additions and 23 deletions

View File

@ -9,26 +9,4 @@
@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@REM
@REM @if "%1"=="" (goto build)
@REM @if "%1"=="clean" (goto clean)
@REM @if "%1"=="cleanall" (goto cleanall)
:build
@echo on
ant -f %WORKSPACE%/build.xml %1 %2 %3
@echo off
@goto end
:clean
@echo on
ant clean -f %WORKSPACE%/build.xml
@echo off
@goto end
:cleanall
@echo on
ant cleanall -f %WORKSPACE%/build.xml
@echo off
@goto end
:end
ant -f %WORKSPACE%/build.xml %*