mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +00:00
799e663c0b
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
20 lines
353 B
Bash
Executable file
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
|
|
|