Sha256: 288ad52ce9352a1de49e35024f4c52e493748c05664af68e2f463941c13eb1eb
Contents?: true
Size: 1.2 KB
Versions: 5
Compression:
Stored size: 1.2 KB
Contents
#!/bin/bash set -e function usage() { echo "Usage:" echo "$0 [options]" echo "" echo " Options:" echo " -u/--update Update license information" echo " -v/--verify Verify license information" echo " -g/--generate Generate CSV license data" echo " -h/--help Display this help message" echo "" exit 1 } while [ "$1" != "" ]; do case $1 in -v | --verify) echo "Verifying dependency licenses ..." bin/bundle exec licensed env -c .licensed.yml bin/bundle exec licensed list -c .licensed.yml bin/bundle exec licensed status -c .licensed.yml RET=$? if [ $RET -ne 0 ]; then echo echo "*** When fixed, please run 'script/licenses -c' to update the license cache. ***" echo fi exit $RET ;; -u | --update) echo "Caching dependency licenses ..." bin/bundle exec licensed cache -c .licensed.yml ;; -g | --generate) echo "Generating CSV licenses ..." bin/bundle exec rake licenses:generate ;; -h | --help) usage ;; *) usage exit 1 ;; esac shift done
Version data entries
5 entries across 5 versions & 1 rubygems