deps-new

hindol 2021-04-01T20:04:48.061500Z

I am trying to use this template: https://github.com/omnyway-labs/chromex-shadow-template with clj-new but getting this error: "Template resource 'clj/new/chromex_shadow_template/README.md' not found.". The actual command used is, clojure -X:new :template '""' :name <name> . The template hasn't been updated in a while. Is this a known issue?

seancorfield 2021-04-01T20:07:59.062300Z

Looks like a case-sensitivity bug in that template: it has a readme.md file but in the code it looks for README.md instead.

seancorfield 2021-04-01T20:08:39.062700Z

@rberger is here and he’s the maintainer…?

seancorfield 2021-04-01T20:09:03.063100Z

(I’m guessing it was developed and tested on macOS and you are running Linux @hindol.adhya?)

rberger 2021-04-01T20:47:38.063700Z

What is this Windows that you speak of? 😁 I can look into fixing a case sensitivity problem. Haven’t used the template for a while

hindol 2021-04-01T20:09:45.063200Z

Yes. I am on WSL2.

hindol 2021-04-01T20:12:20.063300Z

I thought only Windows ignored cases. Does MacOS treat all cases as same for file names? (I do have a Mac, but I never noticed it)

seancorfield 2021-04-01T20:13:10.063600Z

macOS is case-insensitive, yes.

rberger 2021-04-01T20:51:06.064700Z

@hindol.adhya Looks like someone already had posted a PR to fix it that I didn’t notice. I’ve now applied and updated the repo. Thanks for asking!

👍 2
hindol 2021-04-01T21:11:40.065Z

Thanks for fixing it. Works now. (P.S. WSL2 is essentially Linux)

rberger 2021-04-01T21:13:49.065200Z

Cool. Hope you get to do something nice with the chromex stuff. Its pretty nice way to create chrome extensions. I haven’t used it for a while though