This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-23
Channels
- # aws-lambda (1)
- # bangalore-clj (3)
- # beginners (80)
- # boot (8)
- # clojars (1)
- # clojure (200)
- # clojure-dev (37)
- # clojure-greece (26)
- # clojure-italy (11)
- # clojure-norway (3)
- # clojure-russia (14)
- # clojure-spec (21)
- # clojure-uk (30)
- # clojurescript (50)
- # core-logic (10)
- # core-matrix (1)
- # cursive (15)
- # data-science (21)
- # datomic (45)
- # devcards (2)
- # emacs (4)
- # fulcro (12)
- # garden (2)
- # jobs (5)
- # juxt (1)
- # lambdaisland (1)
- # leiningen (4)
- # luminus (20)
- # lumo (26)
- # off-topic (33)
- # onyx (27)
- # parinfer (1)
- # pedestal (3)
- # perun (5)
- # re-frame (20)
- # reagent (27)
- # ring (1)
- # ring-swagger (21)
- # shadow-cljs (259)
- # spacemacs (14)
- # yada (3)
I want to support the project 100%, but the friction (unclear tooling) right now is a challenge
@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?
do you git clone ... && yarn install
and then install lumo
as a global dep and then you run yarn scripts?
sorry if it sounds like I'm just complaining 😕
I have a global lumo yes, but you can yarn install
and use it locally with no issue... can't you?
@johnjelinek npm install lumo-cljs
?
does that just download the binary or does it run through the boot
build, which depends on the JDK?
I'll give it a shot though 🙂
Downlods the binary
There’s no JVM involved at all
ok cool, so @anmonteiro for apps you build in lumo
, do you use npm
/`yarn` tasks in place of boot
too?
I actually just use lumo
You can write Lumo scripts to compile Lumo apps
Or Lumo scripts for basically anything
But you can put those in your package.json scripts entry too
so you built a task runner in lumo to build/test/package your lumo app?
not a “task runner”
just a plain CLJS script
a plain cljs script that has a collection of tasks like gulp
or boot
would?
that’s an option
but you’re overcomplicating IMO
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
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
to you, which path provides the least complications?