clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
thheller 2019-01-29T18:52:42.042900Z

@alexmiller not sure if this is something you'd be interested in but I started writing a version of the clojure bash script in CLJS published to npm. since npm is probably the most widely used non-OS specific package manager

thheller 2019-01-29T18:53:11.043500Z

so you could npm install -g clojure-cli and it work cross platform

thheller 2019-01-29T18:53:43.044200Z

I have a proof of concept under that name and works already wherever node runs

thheller 2019-01-29T18:53:59.044600Z

only tested on Windows and Linux but both work fine

thheller 2019-01-29T18:54:39.045Z

(right now it only registers the sclj command since I didn't want to conflict)

thheller 2019-01-29T18:55:41.045800Z

mostly doing it to figure out how the clojure bash script works to better integrate it with shadow-cljs but could be a standalone thing maybe

thheller 2019-01-29T18:57:08.046300Z

doesn't do much yet but looks much better than bash to me 😉 https://github.com/thheller/clojure-cli/blob/master/src/main/shadow/clojure/cli.cljs

thheller 2019-01-29T18:59:11.047600Z

might be good to have that as an extra available option given that node/npm is so widely available

seancorfield 2019-01-29T19:07:43.048500Z

I wonder how many people who would want to use Clojure/JVM do not have Node installed? pondering

thheller 2019-01-29T19:09:11.049100Z

I bet there are lots of JS developers that may want to use Clojure(Script) 😉

seancorfield 2019-01-29T19:21:32.049500Z

I only have Node installed for sort of legacy reasons. I loathe Node 🙂

thheller 2019-01-29T19:22:14.049700Z

me too 😉 async everything is such a PITA