Support jpkl executable for Windows (#872)

This updates the script used to start the executable to support
Windows as well.

For Windows support, the executable needs to be named `jpkl.bat`.
This commit is contained in:
Daniel Chao authored and GitHub committed 2025-01-14 05:16:59 -08:00
1 parent 3296dd8a89
commit 100dd0560e
3 files changed
+44 -16

No files matched your search

+1 -1
View File
@@ -363,7 +363,7 @@ publishing {
description.set(
"""
Pkl CLI executable for Java.
Can be executed directly on *nix (if the `java` command is found on the PATH) and with `java -jar` otherwise.
Can be executed directly, or with `java -jar <path/to/jpkl>`.
Requires Java 17 or higher.
"""
.trimIndent()