This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-01
Channels
- # admin-announcements (8)
- # arachne (11)
- # beginners (17)
- # boot (64)
- # cider (26)
- # cljs-dev (7)
- # cljsrn (1)
- # clojure (115)
- # clojure-belgium (2)
- # clojure-dusseldorf (15)
- # clojure-poland (15)
- # clojure-russia (62)
- # clojure-spec (86)
- # clojure-uk (208)
- # clojurescript (36)
- # cursive (4)
- # datavis (11)
- # datomic (44)
- # editors (9)
- # hoplon (21)
- # jobs (4)
- # mount (21)
- # off-topic (3)
- # om (113)
- # onyx (65)
- # parinfer (2)
- # perun (3)
- # proton (6)
- # re-frame (29)
- # reagent (20)
- # yada (3)
@jetzajac: I had a task like that in mind, I wrote boot-exec
to ease writing shell commands with boot
@jetzajac: I could really use that as well for boot-react-native
@flyboarder: boot-exec looks neat! can it call processes in the background?
the other problem is that with npm
it's not really feasible to re-install everything on every boot
run, as it takes too long, so the npm
directory cannot be a tmp-dir
@pesterhazy: it is not smart enough to handle background proc’s and assumes you want to wait for execution, also with boot-exec
you can pass a :directory
this can be a cache directory created by the npm
wrapper task, a similar thing is done with boot-bower
https://github.com/degree9/boot-bower/blob/master/src/degree9/boot_bower.clj#L22-L23
oh wow, I didn't know you could use boot's cache from boot modules
so many possibilities 🙂
Hi y'all, I'm pretty much brand new to boot, long-time lein user. Is there a way to do what vinyasa does in lein, ie inject code into clojure.core so that it'll be loaded in every namespace? (eg requiring pprint) Vinyasa: https://github.com/zcaudate/vinyasa
@eggsyntax: it couldn't be easier
@eggsyntax: if you do boot -vb task task
you can see the namespace boot generates
how is this :boot/from
ns meta used? https://github.com/boot-clj/boot/blob/master/boot/pod/src/boot/from/me/raynes/conch.clj#L9
iirc it's just a comment currently
if i could open an interactive session and evaluate (core/configure-repositories!) i could see what repos are ending up configured
they're functions that are generated from the deftask macro, so they know how to accept command line arguments or repl arguments
there is also metadata, like you say, which helps boot find which tasks are available, for isntance
@spieden: the ins and outs of the command line stuff is here: https://github.com/boot-clj/boot/wiki/Task-Options-DSL