Fork me on GitHub
#boot
<
2016-05-25
>
martinklepsch11:05:20

@richiardiandrea: is there some more documentation about boot.parallel? Definitely add it to the changelog 🙂

dm314:05:51

with 2.6.0, if I want to point Boot to my Clojars mirror, do I have to do it through the env variable? Should I do it through the :repositories key?

micha14:05:38

you don't need to use the env var unless you want to affect how boot loads its own dependencies, before your build.boot/profile.boot are read

dm314:05:47

ok, I see

richiardiandrea14:05:46

@martinklepsch: well there are docstrings :) I agree it is a bit of an esoteric feature ahah

cpmcdaniel15:05:27

@alandipert: thinking of doing something similar?

alandipert15:05:23

na just thought it was neat. free library idea 😄

richiardiandrea16:05:16

ah ah yeah I know what it is 😄

richiardiandrea16:05:18

@anmonteiro: have you tried lambone yet?

anmonteiro16:05:38

I’ve put that aside for now

anmonteiro16:05:44

play time is over

anmonteiro16:05:49

maybe on the weekend 🙂

richiardiandrea16:05:06

ok cool, yesterday while playing I added Dirac, optionally, of course for people who don't want to use cljs-repl...

anmonteiro16:05:43

@richiardiandrea: I could not get refresh to work though

anmonteiro16:05:19

I mean, I could if I called it directly in boot.user

richiardiandrea16:05:20

yes for that I have two repls running (same JVM)

anmonteiro16:05:24

not cider-refresh, though

anmonteiro16:05:50

and that’s something which works out of the box with Lein

richiardiandrea16:05:57

it looks like tools.namespace does not play well with something (I could not understand what)

anmonteiro16:05:27

I didn’t have more time to explore it as well

richiardiandrea16:05:27

no but it does work, if you exclude frontend tasks

richiardiandrea16:05:37

i mean cljs tasks

richiardiandrea16:05:14

that is why, one of my repl only has "clj" tasks and in there I am able to refresh no problem

richiardiandrea16:05:25

exposing the api on port 3000

richiardiandrea16:05:01

the other part serves static content on port 8000 (and another cljs repl, with boot-reload)

juhoteperi17:05:14

@richiardiandrea: https://github.com/Deraen/boot-ctn should setup c.t.n watch dirs correctly for Boot

juhoteperi17:05:17

Not sure if it works with Cider

juhoteperi17:05:21

^: @anmonteiro

richiardiandrea17:05:23

@juhoteperi: that's weird because it works for some tasks and not for other, but I will try it out

juhoteperi17:05:43

@richiardiandrea: Tasks that use c.t.n inside pods need to set the watch dirs themselves

anmonteiro17:05:07

Thx, I’ll keep that in mind

richiardiandrea17:05:26

basically my clj pipeline only has the repl task in a pod

richiardiandrea17:05:37

that is why is working there

juhoteperi17:05:44

Also, I could not get 0.2.x working inside pods myself, but I was able to use 0.3 alpha, with low-level API (track and reload instead of repl), check boot-alt-test for this

richiardiandrea17:05:00

I definitely will

micha17:05:35

@juhoteperi: if you use (:directories boot.pod/env) instead of (boot.core/get-env :directories) your code will work in any pod

juhoteperi17:05:20

@micha: Yes, but tasks need to set the dirs again inside the pod because setting the dirs in "root pod" doesn't affect new pods (I think)

micha17:05:41

right because they'll have separate instances of the c.t.n namespaces

micha17:05:49

isolated, different vars

juhoteperi17:05:02

And with the low-level API, that tasks probably should use, the dirs should anyways be provided as parameter to scan-dirs: https://github.com/metosin/boot-alt-test/blob/master/src/metosin/boot_alt_test/impl.clj#L45-47