8000 gh-94781: Clean previous instances of ouput files on Windows by CharlieZhao95 · Pull Request #96423 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-94781: Clean previous instances of ouput files on Windows #96423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Clean previous instances of ouput files in Python\deepfreeze and `P…
…ython\frozen_modules` directories.
  • Loading branch information
CharlieZhao95 committed Aug 30, 2022
commit 1613e646cd9f6f75d33e5b2ebb88d8e38aeb34d3
11 changes: 10 additions & 1 deletion PCbuild/clean.bat
60C5
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,13 @@
rem A batch program to clean a particular configuration,
rem just for convenience.

call "%~dp0build.bat" -t Clean %*
set dir=%~dp0

call "%dir%build.bat" -t Clean %*

rem Clean previous instances of ouput files in `Python\deepfreeze`
rem and `Python\frozen_modules` directories to ensure successful building
rem on Windows.

del "%dir%\..\Python\deepfreeze\*.c"
del "%dir%\..\Python\frozen_modules\*.h"
0