Fork me on GitHub
#babashka
<
2021-04-17
>
borkdude10:04:10

Made a video showing bb tasks as it is currently. I'd love to have your feedback! https://youtu.be/b-XwAIM0bV0

👍 2
mike_ananev12:04:36

@borkdude if task b depends on a and task c depends on a, but task a should have different params from b and c how I can implement such behaviour ?

mike_ananev12:04:24

I mean using :depends section?

mike_ananev12:04:38

solved: I made a as a function and call a from b and c with different params

borkdude13:04:33

@mike1452 Correct, you should just use a function, since :depends cannot decide if a task has already been run if you use parameters

mike_ananev13:04:59

How I can print :doc section inside task for this task or another task? Can I access to it via meta?

borkdude13:04:29

There isn't anything around this (yet). You could just parse the EDN file yourself and look up the docstring perhaps.