mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
f42cf1f924
And migrate deprecated "-no_doc" option. Change-Id: I2e1e89408328c614a89f6c4e408df90d1e346d76
14 lines
332 B
Bash
Executable file
14 lines
332 B
Bash
Executable file
#!/usr/bin/env bash
|
|
cd $(cd $(dirname $0)/..; pwd)
|
|
|
|
# Disable parallel processing which seems to be causing problems under Ruby 1.8
|
|
jsduck --config .docs/config.json --processes 0
|
|
ec=$?
|
|
|
|
test ! -L docs/lib && ln -s ../lib docs/lib || echo 'Symlink already exists'
|
|
|
|
cd - > /dev/null
|
|
|
|
# Exit with exit code of jsduck command
|
|
exit $ec
|