public
Description: Webmonkey (aka Greasemonkey+) is a fork of the popular Greasemonkey extension for Firefox.
Homepage: http://webmonkey.info
Clone URL: git://github.com/ocornu/webmonkey.git
Click here to lend your support to: webmonkey and make a donation at www.pledgie.com !
webmonkey / mkdoc.sh
100755 26 lines (22 sloc) 0.408 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
SRC=$PWD/src
DOC=$PWD/doc
echo Build doc in $DOC
 
rm -rf $DOC
cd utils/jsdoc-toolkit
 
make() {
java -jar jsrun.jar app/run.js -a -t=templates/webmonkey -d=$DOC \
-x=js,jsm \
$SRC/modules/lib \
$SRC/modules/script \
$SRC/modules \
$SRC/content/lib \
$SRC/content/*.js \
$SRC/components
}
 
if [ "$1" == "-v" ]; then
make
else
# remove warnings
make | grep -v -e "^>> WARNING:"
fi