This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-04
Channels
- # arachne (2)
- # bangalore-clj (3)
- # beginners (34)
- # boot (22)
- # cider (1)
- # cljs-dev (86)
- # cljsjs (3)
- # clojure (42)
- # clojure-argentina (6)
- # clojure-austin (10)
- # clojure-chicago (1)
- # clojure-france (3)
- # clojure-russia (135)
- # clojure-spain (1)
- # clojure-uk (4)
- # clojurescript (69)
- # core-async (13)
- # cursive (11)
- # datascript (6)
- # datomic (8)
- # dirac (2)
- # emacs (10)
- # euroclojure (1)
- # events (1)
- # gsoc (13)
- # jobs-rus (9)
- # lumo (7)
- # off-topic (18)
- # om (16)
- # perun (3)
- # planck (1)
- # portland-or (1)
- # re-frame (25)
- # ring (22)
- # spacemacs (1)
- # untangled (14)
i.e. (deftask your-task [] (comp (foo) (bar) ... (target :dir #{"release"})))
but that doesn't handle the rename; for that you'd want something like (sift {#"js/app.js" "site.min.js"})
so your final task would look like:
(deftask my-task []
(comp (foo) (bar) (sift :move {#"js/app.js" "site.min.js"}) (target :dir #{"release"}))
thanks @alandipert ! I had figured out the target
:dir
option and was in the process of trying to interpret the sift task when you gave me my answer 🙂
cool. made a small edit, it's the :move
option of sift you want. can learn more with (doc sift)
if you haven't found that yet
yeah the repl is the way to figure this stuff out
then you don't pay boot startup to experiment
ie boot repl
, then make some edits to your build.boot
, then (load-file "build.boot")
at repl. then to try your edits, (boot (my-task))
at repl
step three of setting up dirac involves injecting a "preload" into clojurescript for dirac
are docs here: https://github.com/boot-clj/boot-cljs-devtools broken? Docs points to 0.1.2, which has cljs-devtools task but not dirac task however, readme says you have to have both (cljs-devtools) and (dirac)
@qqq yes the split has happened in 0.1.3
, I think at this point enough people have used the snapshot so I will push a release this weekend,, thanks for reporting!
@richiardiandrea : you're part of the team behind boot-cljs-devtools? Thanks for creating it! I wasn't aware I was wasting important dev time with all my questions 🙂
@qqq yeah, it was originally written by Jupl and then I took it over and moved it to where it currently is, it is a team effort though, as it should be in oss projects 😀😀
@qqq in this project (sorry afk) https://github.com/Lambda-X/cljs-repl-web
@richiardiandrea : right, I couldn't figure that out, was hoping for a smaller example, but if that indeed is minimal, I should just dig in
Well you need flavors only in very complicated setups I reckon 😄 @qqq
Thanks a lot for cljs-devtools ! Made me discover dirac and this is exactly what I was looking for 🙂
I'd like to start a lumo repl from within boot (with dosh
). The repl starts, but cannot recieve inputs 😞. Anyone?
i would guess that dosh
sets up its own input/output streams for the process, and doesn't automatically connect them to repl's out/in