Fork me on GitHub
#boot
<
2015-09-13
>
juhoteperi09:09:54

@pandeiro: Yeah boot-cljs uses ns-tracker

juhoteperi09:09:03

I've been thinking that one solution would be to have convention for tasks which add dependencies for pods

juhoteperi09:09:17

Something like boot cljs --download-deps test --download-deps

micha10:09:58

what about the convention that tasks have a no-op mode, so they can download their deps dynamically still

micha10:09:16

that would i think solve the problem you encountered in every case

micha10:09:47

static dependency spec wouldn't work for every case because the deps could depend on other tasks or things like that

micha10:09:16

like a task could compute its dependencies dynamically

juhoteperi10:09:50

Yeah no-op would be effectively same as download-deps option

micha10:09:27

i think tasks should generally resolve their dependencies in the outermost layer

micha10:09:36

like where you create task state

micha10:09:45

usually you make the pod future there

micha10:09:02

the actual work happens in the inner middleware layer