From 22f0d91b208852498f9cb4e28e7629d8253b4a63 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 4 Jun 2026 14:33:25 -0700 Subject: [PATCH] create_entry_points.py: Don't remove bootstrap.bat Unlike the other bat files this one is still checked into source control. --- .circleci/config.yml | 5 +++++ tools/maint/create_entry_points.py | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9508a4d6a87ff..a15021754d835 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1346,6 +1346,11 @@ jobs: name: "sockets.test_nodejs_sockets_echo*" command: "test/runner sockets.test_nodejs_sockets_echo*" - upload-test-results + - run: + name: "check clean" + command: | + git checkout tools/pylauncher + $EMSDK_PYTHON test/check_clean.py test-mac-arm64: executor: mac-arm64 diff --git a/tools/maint/create_entry_points.py b/tools/maint/create_entry_points.py index b880eb79d4bd4..0cc033132c2c3 100755 --- a/tools/maint/create_entry_points.py +++ b/tools/maint/create_entry_points.py @@ -115,7 +115,10 @@ def generate_entry_points(cmd, path): make_executable(launcher) if do_windows: - maybe_remove(launcher + '.bat') + if entry_point != 'bootstrap': + # The bootstrap.bat file is checked into source control so we + # don't want to delete it. + maybe_remove(launcher + '.bat') maybe_remove(launcher + '.ps1') maybe_remove(launcher + '.exe') if use_bat_file: