/
githubmirror
/
meteor
Обзор
Документация
Войти
/
githubmirror
/
meteor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
docs/jsdoc/jsdoc.sh
19 строк
641 B
filipenevola
Removing verbose option from jsdoc.sh
19 окт 2021, 23:27
19 окт 2021, 23:27
916d38b
Код
Авторство
О чём код?
#!/usr/bin/env bash INFINITY=10000 TOPDIR=$(pwd) METEOR_DIR="../" cd "$METEOR_DIR" # Ensure that jsdoc failure actually makes this script fail. set -o pipefail # Call git grep to find all js files with the appropriate comment tags, # and only then pass it to JSDoc which will parse the JS files. # This is a whole lot faster than calling JSDoc recursively. git grep -ialE "@(summary|borrows|namespace|memberof|alias)" | xargs -L ${INFINITY} -t \ "$TOPDIR/node_modules/.bin/jsdoc" \ -t "$TOPDIR/jsdoc/docdata-jsdoc-template" \ -c "$TOPDIR/jsdoc/jsdoc-conf.json" \ 2>&1 | grep -v 'WARNING: JSDoc does not currently handle'