Fork me on GitHub
#lumo
<
2017-08-04
>
metametadata00:08:37

Is there any option to make Lumo treat warning as errors and exit immediately with error code?

metametadata00:08:52

ᐅ lumo -e '(do (+ 1 2 foo) 456)'
                       ⬆
WARNING: Use of undeclared Var cljs.user/foo at line 1
456
ᐅ echo $?
0

metametadata00:08:08

I'd like it to not reach 456 and return 1 instead of 0

anmonteiro00:08:46

you could probably bind cljs.analyzer warnings or something

metametadata00:08:17

I'll look into it

metametadata00:08:47

the use-case is pretty obvious: I'd like my scripts to fail fast and loud on mistakes 🙂

pesterhazy09:08:09

I'd love that as well

leobm16:08:07

hi! I have the same problem like @moxaj on windows. 'invalid argument, utime' , Object.fs.utimesSync (fs.cljs:1221:11)

leobm16:08:26

what was/is the solution to this problem?

anmonteiro16:08:51

@leobm I think it's fixed in master and will be in the next release

leobm16:08:45

ok, thanks

sakalli21:08:24

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?

anmonteiro21:08:59

we only compile Lumo for Windows, Linux & Mac

anmonteiro21:08:09

would you like to help cross compiling for RPi?

sakalli21:08:46

mmm. would love to contribute, but not sure i have the skills.

sakalli22:08:29

anyway, ill have a look at it. let you know if i get anywhere.