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

Generate configuration loading in Gruntfile.js #67

Open
grayside opened this issue May 29, 2016 · 0 comments
Open

Generate configuration loading in Gruntfile.js #67

grayside opened this issue May 29, 2016 · 0 comments

Comments

@grayside
Copy link
Contributor

Currently GDT loads Gruntconfig.json as part of its internal bootstrap. This means GDT itself needs to take awkward steps to support dynamic configuration.

If GDT drops that config loading, the Gruntfile.js in the project can take over all steps to load the right configuration, both "static" from a file and dynamic from code.

GDT should still offer environment variables, to ensure consistent naming. In fact, that support should most likely be broadened if possible.

In the course of this change, we should take the opportunity to consider switching to Yaml.

This requires a companion change in GDT to remove Gruntconfig.json load and possibly rethink the "magic config" behavior.

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