lein-create-template
lein-create-template copied to clipboard
generates absolute paths with unescaped backslashes on Windows
The strings generated in the (->files data [... part are incorrect in Windows. I get errors about unsupported escape characters. If I manually substitute \ with / in the paths, then when I try to use the template, I get a java.lang.IllegalArgumentException that displays the path in the first string (e.g. C:\Users\ME\Code\Clojure\foo\src\data_readers.clj) which it says is not a relative path, so lein isn't expecting what create-template is producing here.
Have not tested on a Windows OS, but have changed to support native path and line separator i 0.2.0.