apple / pkl

A configuration as code language with rich validation and tooling.
https://pkl-lang.org
Apache License 2.0
10.15k stars 270 forks source link

Add support for Windows #492

Closed bioball closed 4 months ago

bioball commented 4 months ago

Closes https://github.com/apple/pkl/issues/20

This adds support for Windows. The in-language path separator is still /, to ensure Pkl programs are cross-platform. The specifics behind this design are detailed in https://github.com/apple/pkl-evolution/pull/7.

Log lines are written using CRLF endings on Windows. Modules that are combined with --module-output-separator uses LF endings to ensure consistent rendering across platforms.

jpkl does not work on Windows as a direct executable. However, it can work with java -jar jpkl.

Additional details: