Clojurians
#lumo
<
2017-05-01
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

plexus07:05:56

@anmonteiro I just noticed I can't edit the Lumo wiki. Is it possible to make it world-editable?

anmonteiro15:05:03

@plexus wasn't aware. I'll look into it

rmturner15:05:13

hello all, how to i use andare in lumo? do i have to compile andare first using jvm then point lumo at output?

anmonteiro15:05:00

@rmturner you use it like any other JAR. Download the JAR and run lumo -c andare.jar

rmturner15:05:35

@anmonteiro thanks!

rmturner16:05:39

recommendations for clojurescript wrappers for the node.js api?

dominicm19:05:41

> .sh Awesome

borkdude19:05:56

I'm curious to try out Lumo with inf-clojure. In the docs of inf-clojure is written you can start a lumo session by putting:

((nil . ((inf-clojure-boot-cmd . "lumo -d"))))
in .dir-locals.el. I've put this in /tmp/foo. Also I've opened a /tmp/foo/foo.cljs file and then started inf-clojure. Still it starts lein...

anmonteiro19:05:53

maybe @richiardiandrea can help you here

anmonteiro19:05:57

I haven’t actually tried it out yet

richiardiandrea20:05:44

@borkdude it uses inf-clojure-lein-command if you have a project.clj

borkdude20:05:18

Why would I have a project.clj if I want to start Lumo? :smiley:

richiardiandrea20:05:25

Also be sure to enable the mode with inf-clojure-minor-mode

richiardiandrea20:05:42

Because of maven dependencies

richiardiandrea20:05:46

You need a way to resolve them, I haven't developed the logic of project recognition but I know that there is also a inf-clojure-generic-command

borkdude20:05:01

Ah... I see.

richiardiandrea20:05:05

It was recently introduced and might be buggy

richiardiandrea20:05:47

If you actually tell me the project layout and what would be your expectation I can check and fix

richiardiandrea20:05:01

(maybe open an issue there)

borkdude20:05:16

well, I was just playing around after I saw the tweet of bozhidar. I haven't actually done much with Lumo :slightly_smiling_face:

richiardiandrea20:05:09

Yeah but it is good, I have basically added the support and I am in charge now :grinning::grinning::grinning:

borkdude20:05:36

Is Calvin still something that people use for Lumo? https://github.com/eginez/calvin

borkdude20:05:58

That also expects a project.clj.

borkdude20:05:54

Adding a project.clj worked btw @richiardiandrea

richiardiandrea20:05:01

Great, I think yes you can use Calvin

richiardiandrea20:05:33

The only thing is that dep resolution might not be the same as Maven's

richiardiandrea20:05:15

Because it is a rewrite...But I tried it and works fine well for small things

stbgz20:05:29

@borkdude Yes deps resolution is a re-write and the fact that we need a project.clj, should be just a detail, there have been several discussions on how to express dependencies

stbgz20:05:44

I personally would like to express dependencies in line

(calvin/add-deps [...])
;rest of script 

stbgz20:05:54

also something I added in calvin was the build api from lumo