mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
19 lines
558 B
Bash
Executable File
19 lines
558 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ORIGDIR=$(pwd)
|
|
cd $(dirname $0)
|
|
cd ../../..
|
|
TOPDIR=$(pwd)
|
|
|
|
INFINITY=10000
|
|
|
|
cd $TOPDIR
|
|
|
|
# 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 -al "@summary" | xargs -L ${INFINITY} -t \
|
|
${TOPDIR}/dev_bundle/bin/node \
|
|
${TOPDIR}/dev_bundle/lib/node_modules/.bin/jsdoc \
|
|
-t "${TOPDIR}/scripts/admin/jsdoc/docdata-jsdoc-template" \
|
|
-c "${TOPDIR}/scripts/admin/jsdoc/jsdoc-conf.json" |