lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
johnjelinek 2017-10-23T13:44:57.000496Z

I want to support the project 100%, but the friction (unclear tooling) right now is a challenge

johnjelinek 2017-10-23T14:51:44.000729Z

@richiardiandrea: if you use yarn/`npm` scripts as your task runner -- how do you kick off a lumo build without it being a global dep?

johnjelinek 2017-10-23T14:52:36.000434Z

do you git clone ... && yarn install and then install lumo as a global dep and then you run yarn scripts?

johnjelinek 2017-10-23T15:02:10.000435Z

sorry if it sounds like I'm just complaining 😕

richiardiandrea 2017-10-23T15:48:13.000293Z

I have a global lumo yes, but you can yarn install and use it locally with no issue... can't you?

anmonteiro 2017-10-23T15:58:23.000142Z

@johnjelinek npm install lumo-cljs?

johnjelinek 2017-10-23T15:59:11.000623Z

does that just download the binary or does it run through the boot build, which depends on the JDK?

johnjelinek 2017-10-23T16:01:56.000546Z

I'll give it a shot though 🙂

anmonteiro 2017-10-23T16:07:44.000258Z

Downlods the binary

anmonteiro 2017-10-23T16:07:57.000328Z

There’s no JVM involved at all

johnjelinek 2017-10-23T16:09:14.000082Z

ok cool, so @anmonteiro for apps you build in lumo, do you use npm/`yarn` tasks in place of boot too?

anmonteiro 2017-10-23T16:09:44.000698Z

Uh

anmonteiro 2017-10-23T16:09:54.000783Z

I actually just use lumo

mfikes 2017-10-23T16:10:06.000461Z

Yeah, and you can rely on caching compiled code 🙂

anmonteiro 2017-10-23T16:10:18.000783Z

You can write Lumo scripts to compile Lumo apps

anmonteiro 2017-10-23T16:10:31.000224Z

Or Lumo scripts for basically anything

anmonteiro 2017-10-23T16:10:54.000003Z

But you can put those in your package.json scripts entry too

johnjelinek 2017-10-23T16:34:34.000170Z

so you built a task runner in lumo to build/test/package your lumo app?

anmonteiro 2017-10-23T16:36:22.000108Z

not a “task runner”

anmonteiro 2017-10-23T16:36:25.000310Z

just a plain CLJS script

johnjelinek 2017-10-23T16:39:12.000057Z

a plain cljs script that has a collection of tasks like gulp or boot would?

anmonteiro 2017-10-23T16:48:13.000030Z

that’s an option

anmonteiro 2017-10-23T16:48:24.000099Z

but you’re overcomplicating IMO

johnjelinek 2017-10-23T16:58:43.000246Z

so, here's what I have: I have a features directory with a bunch of Gherkin I have a step_definitions folder with cljs that map to the Gherkin features what I want is to run a lumo task to temporarily build the cljs and then run ./node_modules/bin/cucumber on the directory to see if tests pass or fail

johnjelinek 2017-10-23T16:59:35.000137Z

so, would I make a separate test.clj for this task and have lumo execute it? or add a yarn script? or use boot because I'm sure in the future there will be other preprocessing devdependencies being used

johnjelinek 2017-10-23T17:33:46.000297Z

to you, which path provides the least complications?