This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-02
Channels
- # arachne (1)
- # bangalore-clj (3)
- # beginners (4)
- # boot (6)
- # cider (3)
- # cljs-dev (14)
- # cljsrn (2)
- # clojure (309)
- # clojure-ireland (1)
- # clojure-russia (7)
- # clojure-spec (10)
- # clojure-uk (5)
- # clojureremote (2)
- # clojurescript (68)
- # cursive (7)
- # emacs (7)
- # luminus (3)
- # lumo (21)
- # off-topic (14)
- # om (1)
- # onyx (53)
- # perun (3)
- # re-frame (4)
- # slack-help (14)
- # unrepl (56)
- # untangled (3)
What's my best option for distributing a lumo app? Specifically, a new REPL client: https://github.com/pesterhazy/unravel
Seems like what https://github.com/juxt/mach is doing might be a good option (install via npm)
@pesterhazy #!/usr/bin/env lumo
at the top of a main.cljs that you mark as a script/bin in your package.json.
@dominicm how do I require packages then?
@pesterhazy npm or cljs?
say I have foo.cljs, bar.cljs, and main.cljs
I move main.cljs to bin/unravel with the shebang
nah, this one just calls lumo
i.e. not using a shebang
ok so a shell wrapper is the best option?
man I love copy 'n paste
best programming experience
that worked, thanks @dominicm, you can install unravel with npm now: https://github.com/pesterhazy/unravel
now I know why npm is so popular ... you can actually author a package in just a few minutes. Very smooth