Closed muthuishere closed 1 year ago
Unfortunately, I don't have windows to test locally. It sounds like there's a path issue, could be that there's a hardcoded /
separator somewhere that should be File/separator
instead.
It did worked with clj-new after fixing the powershell quote issue
The below does not work
clojure -Tcljnew create :template io.github.kit-clj :name yourname/apps
The below works
clojure -Tcljnew create :template io.github.kit-clj :name """yourname/apps"""
but for deps-new , I could not know , how to pass these parameters?
Ah I see, I guess the issue is with powershell escaping then?
Yeah , the issue is resolved in clj-new , now i need your help , how to fix with deps-new
I tried adding quote with neil new io.github.kit-clj/kit deemwar/helloweb. , still it does not help
Unfortunately, I'm not entirely sure what to do there either. Could you try using bash on windows to see if it'll work that way?
I tried using git bash , But the issue still exists. I have a question , How did neil gets translated to deps-new ,
neil new io.github.kit-clj/kit deemwar/helloweb
what would be the translated deps-new cli version any idea?
Good question, might be worth opening an issue for neil
Also clj-new works well ,Only issue is with deps-new , can you point me which one is executed for clj-new and which one for deps-new?
Here's the PR for deps-new https://github.com/kit-clj/kit/pull/72
I could able to fix it , Its File Seperator issue as you said initially , I have updated the tests as well , so it could be platform independent. Can i raise a PR?
raised a fix , explained here what changes has been updated https://www.twitch.tv/videos/1919389924
Thanks, and the change looks good.
And just pushed out a template update to Clojars, if everything looks good on your end I think we can close. Thanks again for investigating.
Thanks a lot , It works now in windows
I used the below command to create a template. neil new io.github.kit-clj/kit deemwar/helloweb
The expectation is to create all source code files under folders deemwar/helloweb
It works fine in mac , But in windows ,folders are not created. neil , babashka ,clojure installed via scoop in windows
Mac Screen shot
Windows Screenshot