licensee/script/vendor-licenses

7 lines
249 B
Bash
Executable File

#!/bin/sh
VENDOR_DIR=vendor/choosealicense.com
rm -Rf $VENDOR_DIR
mkdir -p $VENDOR_DIR
curl -L https://api.github.com/repos/github/choosealicense.com/tarball |tar xf - --include='*/_data' --include='*/_licenses' --strip-components=1 -C $VENDOR_DIR