mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-25 11:17:54 +00:00
Change working directory for JSDuck generate script
...so that it can be used without cd-ing. Change-Id: I8e75b7348dfe0d3bd7185899bfeecbe63de11161
This commit is contained in:
parent
34047e3ba3
commit
ac8d1eec0c
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
pushd $SCRIPT_DIR > /dev/null
|
||||
jsduck \
|
||||
--config=$(pwd)/docs/jsduck-config.json \
|
||||
--config=./jsduck-config.json \
|
||||
--color --warnings-exit-nonzero \
|
||||
&& echo 'JSDuck execution finished.'
|
||||
popd > /dev/null
|
||||
|
|
Loading…
Reference in a new issue