mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
14 lines
336 B
Bash
Executable file
14 lines
336 B
Bash
Executable file
#!/bin/bash
|
|
# Execute subcommand (eg 'yarn <cmd> ...') and update licenses.
|
|
|
|
set -e
|
|
|
|
PATH=$(realpath ../out/extracted/node/bin)
|
|
|
|
../out/extracted/node/bin/yarn $*
|
|
|
|
cd ..
|
|
|
|
./node_modules/.bin/license-checker-rseidelsohn --production --json \
|
|
--excludePackages anki --relativeLicensePath \
|
|
--relativeModulePath > ts/licenses.json
|