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

Move licenses_file to separate output group #125

Merged
merged 1 commit into from
Oct 28, 2023

Commits on Oct 28, 2023

  1. Move licenses_file to separate output group

    When packaging outputs via rules_pkg we should not include the
    licenses_file by default. To avoid that, move it to its own output
    group.
    
    With this change:
    bazel cquery --output=files //examples/sboms:write_sbom 2> /dev/null && \
    bazel cquery --output=files //examples/src:check_server 2> /dev/null
    bazel-out/darwin-fastbuild/bin/examples/sboms/write_sbom.txt
    bazel-out/darwin-fastbuild/bin/examples/src/server_report.txt
    bazel-out/darwin-fastbuild/bin/examples/src/server_licenses.txt
    
    Before this change those commands would include:
    bazel-out/darwin-fastbuild/bin/examples/sboms/_write_sbom_sbom_licenses_info.json
    bazel-out/darwin-fastbuild/bin/examples/src/_check_server_licenses_info.json
    mzeren-vmw committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    2764cf7 View commit details
    Browse the repository at this point in the history