mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-29 02:14:21 +00:00
289ad22b19
* update paths * make generate script return failure state on failure * fix some issues so that it does not actually fail Change-Id: Idd42e0d8e333c461091079aa1150b1b435e6360c
16 lines
352 B
Bash
Executable file
16 lines
352 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
pushd $SCRIPT_DIR > /dev/null
|
|
jsduck \
|
|
--config=./jsduck-config.json \
|
|
--color --warnings-exit-nonzero \
|
|
-- \
|
|
`find ../resources/{multilightbox,mmv} -name '*.js'` \
|
|
&& echo 'JSDuck execution finished.'
|
|
RESULT=$?
|
|
|
|
popd > /dev/null
|
|
|
|
exit $RESULT
|