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

composite script repositories #9

Open
nedtwigg opened this issue Jan 10, 2020 · 0 comments
Open

composite script repositories #9

nedtwigg opened this issue Jan 10, 2020 · 0 comments
Labels
enhancement New feature or request pr-welcome Extra attention is needed

Comments

@nedtwigg
Copy link
Member

Right now, blowdryer only accepts a single, monolithic source of scripts and properties. But it would be nice to aggregate scripts from multiple places. One way to do that would be:

blowdryerSetup {
  forPrefixes ['scala/', 'clojure/'], {
    // if a file (script, file, or prop) starts with `scala/` or `clojure/`
    // then it will come from here
    github 'diffplug/blowdryer-diffplug-experimental', 'tag', '5.7.0'
  }

  // at the bottom, you declare the fallback source
  // for the case that it didn't match any prefixes
  github 'diffplug/blowdryer-diffplug', 'tag', '2.0.0'
}
@nedtwigg nedtwigg added enhancement New feature or request pr-welcome Extra attention is needed labels Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr-welcome Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant