Basically, this change uses fs functions to compute the script name to be more OS-agnostic. As noted on the issue, there's technically a change in behavior here, in that script names with multiple dots would be named everything up to the last dot (as opposed to everything up to the first dot), so installing 'hello.foobar.clj' would install by default as 'hello.foobar' instead of 'hello'. This seems like a corner case given clj file/namespace naming conventions.
Please answer the following questions and leave the below in as part of your PR.
37
Basically, this change uses
fs
functions to compute the script name to be more OS-agnostic. As noted on the issue, there's technically a change in behavior here, in that script names with multiple dots would be named everything up to the last dot (as opposed to everything up to the first dot), so installing 'hello.foobar.clj' would install by default as 'hello.foobar' instead of 'hello'. This seems like a corner case given clj file/namespace naming conventions.