Fork me on GitHub
#lumo
<
2017-10-23
>
johnjelinek13:10:57

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

johnjelinek14:10:44

@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?

johnjelinek14:10:36

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

johnjelinek15:10:10

sorry if it sounds like I'm just complaining 😕

richiardiandrea15:10:13

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

anmonteiro15:10:23

@johnjelinek npm install lumo-cljs?

johnjelinek15:10:11

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

johnjelinek16:10:56

I'll give it a shot though 🙂

anmonteiro16:10:44

Downlods the binary

anmonteiro16:10:57

There’s no JVM involved at all

johnjelinek16:10:14

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

anmonteiro16:10:54

I actually just use lumo

mfikes16:10:06

Yeah, and you can rely on caching compiled code 🙂

anmonteiro16:10:18

You can write Lumo scripts to compile Lumo apps

anmonteiro16:10:31

Or Lumo scripts for basically anything

anmonteiro16:10:54

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

johnjelinek16:10:34

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

anmonteiro16:10:22

not a “task runner”

anmonteiro16:10:25

just a plain CLJS script

johnjelinek16:10:12

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

anmonteiro16:10:13

that’s an option

anmonteiro16:10:24

but you’re overcomplicating IMO

johnjelinek16:10:43

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

johnjelinek16:10:35

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

johnjelinek17:10:46

to you, which path provides the least complications?