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?
@hlolli you need master there is a patch for that
ah ok, reading the changelog more carefully I see this is not fixed in the release. Ok thanks for that pointer @richiardiandrea
I'll release a patch version soon
With the fix
Totally my fault 🙈
echo "(println \"Hello World\")" | lumo -
also doesn't work anymore... hm
I'll look at it in case we can fit that into the patch fix
running boot dev
gives me java.io.FileNotFoundException: Could not locate clojure/tools/reader__init.class or clojure/tools/reader.clj on classpath.
hmm
ah it's a boot problem or something, the jar file in my maven directory for this specific tools.reader version is 0bytes.
@hlolli thanks for your PR
can you fix the lint issues and delete the yarn.lock changes?
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.
@hlolli I think it’s not an indentation problem
also just run yarn prettier
after you’re done and it’ll fix it for you
nice
or you could just add prettier on save in emacs like I have
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.