-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce boot.task/deftask-edn, create tasks with pure data #16
base: master
Are you sure you want to change the base?
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-edn
facilities. It basically usesedn
data 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 😄