Skip to content
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

Force task type declaration #14

Closed
cliffano opened this issue Feb 19, 2013 · 1 comment
Closed

Force task type declaration #14

cliffano opened this issue Feb 19, 2013 · 1 comment

Comments

@cliffano
Copy link
Owner

Bob currently supports default task type, e.g. default test is mocha.
Default task type won't stay forever as libraries come and go, something becomes popular, then someday might be unmaintained.
When Bob changes the default task type in a new version, that will break module that rely on the previous default task type. This is not only annoying, but also discourage Bob upgrade.

It's better to enforce modules to declare task types in .bob.json file, and Bob should fail fast if a task is called but the type is not declared.

@cliffano
Copy link
Owner Author

cliffano commented Oct 3, 2013

Cancelled.

It's more appealing to have zero-configuration (all defaults) and optional task override.
Bob v0.6.0 implement lazy install for non-default task types.

The problem with default task types will always be there. It's recommended for userland to specify task type.
v0.6.0 will provide new commands to set task type easily, e.g. 'bob set lint.type nodelint' , rather than having to modify .bob.json file manually.

@cliffano cliffano closed this as completed Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant