| Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 1 | @echo off |
| 2 | rem Used by the buildbot "clean" step. | ||||
| 3 | |||||
| 4 | setlocal | ||||
| 5 | set root=%~dp0..\.. | ||||
| 6 | set pcbuild=%root%\PCbuild | ||||
| 7 | |||||
| 8 | echo Deleting build | ||||
| 9 | call "%pcbuild%\build.bat" -t Clean -k %* | ||||
| 10 | call "%pcbuild%\build.bat" -t Clean -k -d %* | ||||
| 11 | |||||
| 12 | echo Deleting .pyc/.pyo files ... | ||||
| 13 | del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo" | ||||
| 14 | |||||
| 15 | echo Deleting test leftovers ... | ||||
| 16 | rmdir /s /q "%root%\build" | ||||
| 17 | del /s "%pcbuild%\python*.zip" | ||||