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

Add Support for 'Build Configurations' #6

Closed
ProLoser opened this issue May 22, 2011 · 2 comments
Closed

Add Support for 'Build Configurations' #6

ProLoser opened this issue May 22, 2011 · 2 comments

Comments

@ProLoser
Copy link
Owner

Drupal has a CLI app builder that devs can create 'build configuration' files for how they like their app to get generated.

I think this would be an excellent addition to the plugin.

Developer could create a configuration script with all of their preferred environment options set and pass the name of their build file like cake plate bake -c my_custom_setup.

The only 'variable' build options we provide currently are submodules, so the dev could supply which ones he wants to be loaded automatically. However as our plugin becomes more variable, he can then specify options in this script (turn auth on/off).

This is of course very future, but I may generate a simple basic support for submodules as a convention we can expand later.

@ProLoser
Copy link
Owner Author

ProLoser commented Jun 7, 2011

A useful test-case to aim for is the ad7six skel and related mi plugins. This means that a custom setup file can specify not only submodules, but also an optional skeleton too.

I'm unaware of any other features that would need supporting at this time, feel free to note them if however.

@ProLoser
Copy link
Owner Author

You can now pass a -custom or -c parameter which should be PluginName.config_file or just config_file.

This does 2 things:

  • Loads your custom skeleton specified in the config file under BakingPlate.skel as a string
  • Supplements the submodules list with your own groups

Want to automatically build your own version of your project? Simply specify your own skeleton and override the BakingPlate.core group of submodules. Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant