diff options
author | Bill Neubauer <wcn@google.com> | 2022-10-24 19:52:53 -0400 |
---|---|---|
committer | Tony Aiuto <aiuto@google.com> | 2022-11-01 00:32:59 -0400 |
commit | d8c455ebb46b0f489a4a83367e4833fda5a131db (patch) | |
tree | 15432eb15d61d926fadba52d89209698ea4bd324 /examples/manifest/license_display.sh | |
parent | 84c8fe9fabbd149dff42f854c07fabbe286f93a8 (diff) | |
download | bazelbuild-rules_license-d8c455ebb46b0f489a4a83367e4833fda5a131db.tar.gz |
Mega merge from Google
The core of the PR is an expert from Google, but it applies
several changes to account for Bazel differences.
- deal with bazel 5.x 6.x @// handling
- restore package_url and package_version. This is temporary
they will move to other providers.
PiperOrigin-RevId: 483521567
Diffstat (limited to 'examples/manifest/license_display.sh')
-rw-r--r-- | examples/manifest/license_display.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/manifest/license_display.sh b/examples/manifest/license_display.sh new file mode 100644 index 0000000..f96b3ba --- /dev/null +++ b/examples/manifest/license_display.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +function display_licenses { + echo -n "Licenses: " + cat "$0.runfiles/rules_license/examples/manifest/licenses_manifest.txt" + echo +} |