lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
2017-09-04T18:36:06.000093Z

Seems as if I'm not getting the command line args anymore, I'm running 1.7 and the changelog mentioned this as a bug. I print cljs.core/*command-line-args* and get nil, from (.-argv js/process) I get #js ["/usr/lib/node_modules/lumo-cljs/bin/lumo" "nexe.js" "/tmp/csound-QrUcal.ext" "/tmp/csound-gI6bZL.sco"] where those .ext and .sco files are the command-line-args I'd expect to see, maybe I'm doing something wrong?

richiardiandrea 2017-09-04T19:18:27.000111Z

@hlolli you need master there is a patch for that

2017-09-04T19:19:54.000073Z

ah ok, reading the changelog more carefully I see this is not fixed in the release. Ok thanks for that pointer @richiardiandrea

anmonteiro 2017-09-04T19:22:21.000041Z

I'll release a patch version soon

anmonteiro 2017-09-04T19:22:23.000181Z

With the fix

anmonteiro 2017-09-04T19:22:48.000100Z

Totally my fault 🙈

2017-09-04T20:45:08.000116Z

echo "(println \"Hello World\")" | lumo - also doesn't work anymore... hm

2017-09-04T20:46:10.000049Z

I'll look at it in case we can fit that into the patch fix

2017-09-04T21:01:26.000124Z

running boot dev gives me java.io.FileNotFoundException: Could not locate clojure/tools/reader__init.class or clojure/tools/reader.clj on classpath. hmm

2017-09-04T21:06:39.000079Z

ah it's a boot problem or something, the jar file in my maven directory for this specific tools.reader version is 0bytes.

anmonteiro 2017-09-04T23:06:44.000051Z

@hlolli thanks for your PR

anmonteiro 2017-09-04T23:06:52.000030Z

can you fix the lint issues and delete the yarn.lock changes?

2017-09-04T23:10:02.000127Z

ah yes, took the intentation helpers off, at my workplace I lost the fight of 2 spaces in js files for 4 spaces (they better get me wider monitor 🙂 ), so I didnt pay attention to linting.

anmonteiro 2017-09-04T23:11:15.000009Z

@hlolli I think it’s not an indentation problem

anmonteiro 2017-09-04T23:11:24.000008Z

also just run yarn prettier after you’re done and it’ll fix it for you

2017-09-04T23:11:39.000018Z

nice

anmonteiro 2017-09-04T23:11:42.000058Z

or you could just add prettier on save in emacs like I have

2017-09-04T23:13:31.000003Z

hmm good idea, well, in my case I'd do it manually, due to conflict of my taste for my own project and company's taste. I already start using dir locals more for that. Anyway, I fix it.