mediawiki-extensions-Visual.../bin/generateDocs.sh
Timo Tijhof f42cf1f924 docs: Remove JSDuck 4 support
And migrate deprecated "-no_doc" option.

Change-Id: I2e1e89408328c614a89f6c4e408df90d1e346d76
2014-04-29 20:20:49 +02:00

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