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

Templating project build beyond plugin-versions #35

Open
nedtwigg opened this issue Jan 28, 2023 · 0 comments
Open

Templating project build beyond plugin-versions #35

nedtwigg opened this issue Jan 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nedtwigg
Copy link
Member

Blowdryer 1.7.0 added a plugin-versions feature which has removed a lot of headache from maintaining our fleet of builds.

It would be nice to have similar templating available for e.g GitHub Actions files, maybe .gitattributes, stuff like that. No imminent plans to implement this, but open to PRs.

I lean towards an API along these lines:

// blowdryer-scripts
actions.template <- file whose content is a newline delimited list of paths to copy from scripts into the repository
.github/workflows/gradle-wrapper-validation.yml
.github/workflows/ci.yml

// settings.gradle
blowdryerSetup {
  applyTemplate 'actions.template', {
    omitFile '.github/workflows/ci.yml'
    modifyFile '.github/workflows/gradle-wrapper-validation.yml', {
      replace '8', '11'
    }
  }
}
@nedtwigg nedtwigg added the enhancement New feature or request label Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant