Skip to content

Enforce LF line endings for shell scripts - #963

Merged
sebcrozet merged 3 commits into
dimforge:masterfrom
PoseidonEnergy:use-unix-line-endings
Aug 8, 2026
Merged

Enforce LF line endings for shell scripts#963
sebcrozet merged 3 commits into
dimforge:masterfrom
PoseidonEnergy:use-unix-line-endings

Conversation

@PoseidonEnergy

@PoseidonEnergy PoseidonEnergy commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This PR adds a .gitattributes rule to enforce Unix-style LF line endings for all shell scripts:

*.sh text eol=lf

I sometimes use a Cygwin terminal on Windows to build Rapier. When I run ./builds/prepare_builds/prepare_all_projects.sh or ./builds/prepare_builds/build_all_projects.sh from within ./typescript it fails because of the unexpected line endings.

No functional code changes. This only standardizes line endings for shell scripts.

@sebcrozet
sebcrozet force-pushed the use-unix-line-endings branch from 9f6f1c1 to 6f1685c Compare August 8, 2026 14:42
@sebcrozet
sebcrozet merged commit 4c7175d into dimforge:master Aug 8, 2026
19 checks passed
@sebcrozet

Copy link
Copy Markdown
Member

Thank you!

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.

2 participants