Fork me on GitHub
#boot
<
2017-05-16
>
qqq09:05:03

in boot, is there a way for a target to write to TWO DESTINATIONS ?

alandipert12:05:25

@qqq chain multiple target tasks

alandipert14:05:50

i.e. (comp ... (target :dir "foo") (target :dir "bar"))

qqq19:05:30

@alandipert : ` (target :dir #{"../../build/dev/war/WEB-INF/" "../../build/prod/war/WEB-INF/"}) ` <-- is this also supposed to work? (it is working for me) or is this unreliable

alandipert19:05:52

that’s not supposed to work, :dir takes a string arg, not a set

alandipert19:05:18

hm i think maybe the argument is just poorly named

qqq20:05:45

is it going to continue taking a set of strings; or should I change it to two targets each with a single string in prep for future changes ?

alandipert20:05:56

we’ll never change it

alandipert20:05:12

we might (should!) update the doc string and maybe another argument that takes a single path