summaryrefslogtreecommitdiff
path: root/Tools/bin/build.bat
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-30 20:16:26 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-30 20:16:26 +0000
commit3f9d00a8903e1b6f183fb91b373a639a6c33728f (patch)
tree408e74ce21f1b4ac6562641f6ee0418c4a9f875d /Tools/bin/build.bat
parentf924208bba943dc8ca2a8299278f64cd221cd6d7 (diff)
downloadedk2-platforms-3f9d00a8903e1b6f183fb91b373a639a6c33728f.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@698 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/bin/build.bat')
-rw-r--r--Tools/bin/build.bat34
1 files changed, 34 insertions, 0 deletions
diff --git a/Tools/bin/build.bat b/Tools/bin/build.bat
new file mode 100644
index 0000000000..6e115f431b
--- /dev/null
+++ b/Tools/bin/build.bat
@@ -0,0 +1,34 @@
+@REM
+@REM Copyright (c) 2006, Intel Corporation
+@REM All rights reserved. This program and the accompanying materials
+@REM are licensed and made available under the terms and conditions of the BSD License
+@REM which accompanies this distribution. The full text of the license may be found at
+@REM http://opensource.org/licenses/bsd-license.php
+@REM
+@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+@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 \ No newline at end of file