-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
default tasks #5
Comments
Sounds reasonable and good. Hmm, maybe I get it wrong in first glance while writing, lol. So: the answer for me is to not run the tasks from configs, it should just run the verbfile (calling the |
I agree. I think the This also reduces the amount of logic needed to try to figure out if the |
this is why I asked. I initially was thinking the same thing, but now I'm thinking that if you set something in your config we should respect that. Otherwise I think users will get confused if the |
actually I think @tunnckoCore is right. The arguments for using Would you run I think it's cleaner to just say: "If a |
Here's what I'm thinking (this all works locally):
argv
, run themargv
.verb.md
exists AND noverbfile.js
exists, run thereadme
task (the downside is that we need also inform the user thatverb-readme-generator
needs to be installed).verb.md
, set the default task todefault
(we can also ask the user if they want to add one, and if so, we can generate it then set the default task toreadme
)argv
and thetasks
property defined on theverb
config object in package.json or in.verb.json
, we will use that valueQuestions:
package.json
on theverb
config object, or in.verb.json
, AND averbfile.js
exists, IMO that doesn't change anything, we should still run the tasks defined on the config object. Pushback? thoughts?The text was updated successfully, but these errors were encountered: