Introduce boot.task/deftask-edn, create tasks with pure data#16
Introduce boot.task/deftask-edn, create tasks with pure data#16arichiardi wants to merge 1 commit intoadzerk-oss:masterfrom
Conversation
e7323eb to
e3dcce5
Compare
|
Interesting, I am using a declarative approach for the env like this: |
|
@flyboarder It looks very similar! So from Slack there are two votes for renaming it to |
e3dcce5 to
3a44a11
Compare
|
Also, the |
|
Should the Props is awesome, this is the other thing I commonly do. I'm a little confused by the |
|
Yes names are only attempts 😀
So those keys are identifying the task your want to declarativly set options for .
So they must be task names.
…--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
|
Only once for every task call the |
|
If I have multiple tasks which add to the source-paths, does using How does |
|
Actually, to use the full namespace, we could use symbols instead. This makes it nicer for |
|
Yes we could, but I did not want to type it every time so the macro looks for task symbols in order at the moment: https://github.com/adzerk-oss/bootlaces/pull/16/files#diff-ce48b98546ca95cbc67c4ae8588d0bacR43 |
|
About |
This PR adds the
deftask-ednfacilities. It basically usesedndata to generate tasks.A better explanation can be found in the docstring:
I welcome any feedback or rejection of this. It is basically taking the declarative/lein approach, which sometimes can be very convenient. Of course for me this should go in core so that the user has the choice 😄