aboutsummaryrefslogtreecommitdiff
path: root/examples/manifest/license_display.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/manifest/license_display.sh')
-rw-r--r--examples/manifest/license_display.sh7
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
+}