mediawiki-extensions-Multim.../docs/generate
Gergő Tisza 799e663c0b Remove multilightbox directory from JSDuck config
Merging multilightbox into mmv apparently broke our JSDuck script
(not quite sure why it did not give an error at that time), fixing.

Change-Id: Ib83008d1aea33974c93fbfb7473b2f17ab688050
2014-02-28 03:00:20 +00:00

20 lines
353 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/mmv -name '*.js'` \
|& grep -v "^Warning:" \
&& echo "JSDuck execution finished without errors."
STATUS=$?
popd > /dev/null
exit $STATUS