Only build paper.js library for docs, not for server templates.

This commit is contained in:
Jürg Lehni 2011-06-13 23:50:43 +01:00
parent fbf7016e7c
commit c4d0d80f3b

View file

@ -26,5 +26,9 @@ cd jsdoc-toolkit
java -jar jsrun.jar app/run.js -c=conf/$MODE.conf -D="renderMode:$MODE"
cd ..
#build paper.js library for documentation
./preprocess.sh ../src/paper.js ../dist/docs/resources/js/paper.js "-DBROWSER" stripped
if [ $MODE == "docs" ]
then
# Build paper.js library for documentation
./preprocess.sh ../src/paper.js ../dist/docs/resources/js/paper.js \
"-DBROWSER" stripped
fi