mediawiki-extensions-Multim.../docs/generate

20 lines
369 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd $SCRIPT_DIR > /dev/null
! jsduck \
--color \
--config=./jsduck-config.json \
-- \
`find ../resources/{multilightbox,mmv} -name '*.js'` \
|& grep -v "^Warning:" \
&& echo "JSDuck execution finished without errors."
STATUS=$?
popd > /dev/null
exit $STATUS