Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 16, 2023

Most of the code in this file is used only for testing and is not part
of emscripten proper, so move that code into test/line_endings.py.

Move the remaining utility functions to tools/utils.py.

Update write_file utility so it can write a file with the correct
line endings. This simplifies the callers who want to write a file
with specific line endings.

@sbc100 sbc100 requested a review from kripken November 16, 2023 21:47
@sbc100 sbc100 force-pushed the line_endings branch 3 times, most recently from bf29a56 to 57282bc Compare November 16, 2023 23:39
@sbc100 sbc100 changed the title Cleanup line_endings.py and apply --output-eol to worker.js output. NFC Cleanup line_endings.py and apply --output-eol to worker.js. NFC Nov 16, 2023
@sbc100 sbc100 changed the title Cleanup line_endings.py and apply --output-eol to worker.js. NFC Refactor line_endings.py and apply --output-eol to worker.js. NFC Nov 16, 2023
@sbc100 sbc100 enabled auto-merge (squash) November 17, 2023 01:09
@sbc100 sbc100 force-pushed the line_endings branch 3 times, most recently from 4aa638c to b3e1b4f Compare November 17, 2023 04:15
@RReverser
Copy link
Collaborator

Based on the title, this will fix #20579? If so, worth adding to the description for auto-closing?

@sbc100 sbc100 closed this Jan 3, 2025
auto-merge was automatically disabled January 3, 2025 22:45

Pull request was closed

@sbc100 sbc100 deleted the line_endings branch January 3, 2025 22:45
@sbc100 sbc100 restored the line_endings branch January 4, 2025 01:17
@sbc100 sbc100 reopened this Jan 4, 2025
@sbc100 sbc100 changed the title Refactor line_endings.py and apply --output-eol to worker.js. NFC Refactor line_endings.py. NFC Feb 8, 2025
@sbc100 sbc100 force-pushed the line_endings branch 8 times, most recently from c44fd98 to 9ae21ad Compare February 9, 2025 00:22
Most of the code in this file is used only for testing and is not part
of emscripten proper, so move that code into test/line_endings.py

Move the remaining utility functions to tools/utils.py.

Update `write_file` utility so it can write a file with the correct
line endings. This simplifies the callers who want to write a file
with specific line endings.
@sbc100 sbc100 enabled auto-merge (squash) February 9, 2025 00:33
@sbc100 sbc100 merged commit 558635e into emscripten-core:main Feb 9, 2025
29 checks passed
@sbc100 sbc100 deleted the line_endings branch February 9, 2025 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants