taylorwood / clj.native-image

Build GraalVM native images with Clojure Deps and CLI tools
MIT License
271 stars 20 forks source link

command is named slightly differently on Windows #8

Closed borkdude closed 5 years ago

borkdude commented 5 years ago

On Windows I need to pass in a different name for native-image:

C:\\Users\\IEUser\\Downloads\\graalvm\\graalvm-ce-19.0.0\\bin\\native-image.cmd

It would be more ergonomic if clj.native-image could automatically detect we're on Windows and derive the command name from the GRAALVM_HOME variable.

Detecting the OS name can be done as follows:

(System/getProperty "os.name") ;;=> "Windows 10"
borkdude commented 5 years ago

This is fixed with https://github.com/taylorwood/clj.native-image/pull/9

taylorwood commented 5 years ago

Fixed in 546a77a4492be2f1d9b48e43cb48fb0ebfa39cc2.