summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat
diff options
context:
space:
mode:
Diffstat (limited to 'AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat')
-rw-r--r--AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat b/AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat
new file mode 100644
index 0000000000..0f6b3b4b07
--- /dev/null
+++ b/AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat
@@ -0,0 +1,10 @@
+@rem Used by the buildbot "clean" step.
+call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
+@echo Deleting .pyc/.pyo files ...
+del /s Lib\*.pyc Lib\*.pyo
+@echo Deleting test leftovers ...
+rmdir /s /q build
+cd PCbuild
+vcbuild /clean pcbuild.sln "Release|x64"
+vcbuild /clean pcbuild.sln "Debug|x64"
+cd ..