anki/ts/update-licenses.sh
2021-12-03 20:35:53 +10:00

9 lines
257 B
Bash
Executable File

#!/bin/bash
# Dump runtime licenses to licenses.json
set -e
cd .. && bazel run ts:node -- ./node_modules/.bin/license-checker-rseidelsohn --production --json \
--excludePackages anki --relativeLicensePath \
--relativeModulePath > ts/licenses.json