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

Writing artifacts from template files #3

Open
nerdstein opened this issue Oct 16, 2015 · 2 comments
Open

Writing artifacts from template files #3

nerdstein opened this issue Oct 16, 2015 · 2 comments

Comments

@nerdstein
Copy link
Owner

Tokenized / twig based config files

@nerdstein
Copy link
Owner Author

Questions to ask about project, machine name, etc

@nerdstein nerdstein changed the title CreateProject installer Enhance Bild project provisioner for configuration files Apr 2, 2017
@nerdstein
Copy link
Owner Author

Ignore the earlier comments.

Is there value in trying to have some sort of a templating system, like Twig, that Bild or plugins can define template files that can be used to write project-specific artifacts. The project-specific artifacts may be generated from options passed to the tasks or even Bild's configuration.

Now that we're using Composer, I am fairly sure we would use composer-based commands to update it's JSON file and not leverage a composer-based template (aside from possibly replacing the project name or something trivial).

Additionally, Bild already has a YML parser (as seen from it's config). Such tools could be used to programatically update Bild-sponsored YML files in lieu of a template-based approach.

Going to leave this open in case we find a reason for it.

@nerdstein nerdstein changed the title Enhance Bild project provisioner for configuration files Writing artifacts from template files Apr 2, 2017
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