This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-04
Channels
- # aleph (4)
- # bangalore-clj (1)
- # beginners (89)
- # boot (16)
- # braveandtrue (4)
- # cider (1)
- # cljs-dev (6)
- # cljsrn (90)
- # clojure (132)
- # clojure-austin (1)
- # clojure-dusseldorf (4)
- # clojure-italy (12)
- # clojure-portugal (2)
- # clojure-spec (13)
- # clojure-uk (41)
- # clojurescript (142)
- # code-reviews (19)
- # conf-proposals (1)
- # datascript (6)
- # datomic (7)
- # graphql (12)
- # jobs-discuss (3)
- # keechma (23)
- # leiningen (3)
- # lumo (22)
- # off-topic (7)
- # om (21)
- # onyx (8)
- # parinfer (46)
- # pedestal (3)
- # perun (3)
- # re-frame (10)
- # reagent (30)
- # ring (1)
- # rum (2)
- # spacemacs (1)
- # sql (2)
- # testing (17)
- # yada (32)
Is there any option to make Lumo treat warning as errors and exit immediately with error code?
ᐅ lumo -e '(do (+ 1 2 foo) 456)'
⬆
WARNING: Use of undeclared Var cljs.user/foo at line 1
456
ᐅ echo $?
0
I'd like it to not reach 456
and return 1
instead of 0
you could probably bind cljs.analyzer
warnings or something
something like in http://jakemccrary.com/blog/2015/12/19/clojurescript-treat-warnings-as-errors/ I suppose?
I'll look into it
the use-case is pretty obvious: I'd like my scripts to fail fast and loud on mistakes 🙂
I'd love that as well
hi! I have the same problem like @moxaj on windows. 'invalid argument, utime' , Object.fs.utimesSync (fs.cljs:1221:11)
@leobm I think it's fixed in master and will be in the next release
hi. tried to install lumo on a raspberry, but getting the error platform not supported when i try to run it. is that right. it should not run on rpi?
we only compile Lumo for Windows, Linux & Mac
would you like to help cross compiling for RPi?
thanks!