This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-06
Channels
- # aleph (15)
- # beginners (40)
- # boot (14)
- # cider (90)
- # cljs-dev (132)
- # cljsrn (25)
- # clojars (7)
- # clojure (188)
- # clojure-chicago (4)
- # clojure-dusseldorf (1)
- # clojure-greece (9)
- # clojure-italy (43)
- # clojure-russia (16)
- # clojure-sg (7)
- # clojure-spec (39)
- # clojure-uk (81)
- # clojurescript (170)
- # component (5)
- # core-async (7)
- # cursive (49)
- # data-science (65)
- # datascript (3)
- # datomic (27)
- # graphql (3)
- # hoplon (4)
- # instaparse (56)
- # klipse (129)
- # leiningen (1)
- # lumo (28)
- # off-topic (4)
- # om (15)
- # onyx (54)
- # overtone (7)
- # pedestal (7)
- # re-frame (9)
- # reagent (72)
- # ring (33)
- # ring-swagger (2)
- # spacemacs (1)
- # untangled (19)
- # vim (2)
- # yada (12)
Is the cljs-repl task supposed to pick up the default dependencies specified in $BOOT_HOME/profile.boot
?
i’m wondering, is there a way to add dependency information to tasks? i was thinking of this as i was watching a talk james reeves gave on integrant. integrant (or duct) has the capability of adding modules which are groups of dependencies, and the system takes care of creating a total ordering based on the dependency information of all the things in each module. i think this would be super useful to have this kind of thing in boot. currently there are lots of tasks that need to be invoked in a particular order (e.g. cljs-repl must precede cljs, etc). it’d be nice if the system could help you make sure your task chain is assembled properly, either by taking care of ordering for you or at least warning you when you’ve gotten it wrong.
@pandeiro the $BOOT_HOME/profile.boot
should be evaluated before your build.boot
script, so I’d say yes. is that not happening for you?
No, unfortunately I'm getting that cider-nrepl version mismatch error when I try to M-x cider-connect
And in fact, in the REPL I see them in boot.repl/*default-dependencies*
and middleware
hm. i don’t use cider, so i won’t be much help here. i’m assuming you’ve seen this? https://github.com/boot-clj/boot/wiki/Cider-REPL
(deftask remote-client-prod []
(comp
(watch)
(garden :styles-var 'c.gui.css/base)
(cljs :ids #{"main"}
:optimizations :advanced
:compiler-options {:source-map-timestamp true})
(sift :include #{#"\.out"} :invert true)
(target
:dir #{"../resources/aws/prod/"})))
is therea wa to add a shell command to execute at the end of the target? (after the code is compiled, I want to scp it to another machine)