eclipse-langium / langium

Next-gen language engineering / DSL framework
https://langium.org/
MIT License
754 stars 68 forks source link

Generated CLI does not have execution permission and has CRLF issue #989

Closed luan-xiaokun closed 1 year ago

luan-xiaokun commented 1 year ago

Langium version: 1.1.0 Package name: langium

The generated CLI does not have execution permission, and executing it on Linux platform gives an error /usr/bin/env: "node\r": No such file or directory. It seems that this is because the first line ends with a \r\n.

msujew commented 1 year ago

It's very likely due to me performing the latest release on my windows machine. I'll update the yeoman generator to respect the OS line delimiter.

msujew commented 1 year ago

This has been resolved by https://github.com/langium/langium/pull/1005.