mediawiki-extensions-Multim.../docs/generate
Gergő Tisza bf90ce56ec Get rid of JSDuck temporary logfile
Plus make output more colorful.

Change-Id: I9413a46a668a9ea645b27b0c6845652eb924bc7c
2014-02-14 20:22:55 +00:00

20 lines
369 B
Bash
Executable file

#!/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