Skip to content
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

I'd like to use c4Builder on a non-windows machine but CLRF are causing issues #66

Open
adamclerk opened this issue Jun 23, 2022 · 2 comments

Comments

@adamclerk
Copy link

Would you consider doing something like this: https://www.edwardthomson.com/blog/git_for_windows_line_endings.html

to support other platforms that want to use this plugin?

@adamclerk
Copy link
Author

adamclerk commented Jun 23, 2022

Example: index.js in the root of the repository has CRLF at the end of each line.

When I pull down the repo. My git instance is smart enough to convert my code to LF. What is not smart is NPM. When you package the code it's packing the CRLF. When I try to run the c4builder after installing it globally or locally via NPM. There is no CRLF to LF conversion going on.

I found this pertaining issue
jednano/codepainter#14

@adamclerk
Copy link
Author

I've published the package c4builder-non-windows to get around the issue temporarily.

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

No branches or pull requests

1 participant