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

Implement a "include_files" or "files" key in build #814

Closed
wolfv opened this issue Apr 20, 2024 · 1 comment
Closed

Implement a "include_files" or "files" key in build #814

wolfv opened this issue Apr 20, 2024 · 1 comment

Comments

@wolfv
Copy link
Member

wolfv commented Apr 20, 2024

As a stepping towards "split-builds" from a cache, we should implement a files key in the build section.

This key would contain a list of globs, and only the matched files would be included in the package.

That way, someone could, for example, create a package with only the header files and so on.

E.g.

build:
  script:
     - bla bla
  files:
     - include/*

It might be good to have some post-processing step that would warn if some files were "forgotten" to be included in any of the outputs (although that really only makes sense once we have the cache step).

@wolfv
Copy link
Member Author

wolfv commented Jun 2, 2024

implementation started in #819

@wolfv wolfv closed this as completed Jun 4, 2024
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