mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Only build paper.js library for docs, not for server templates.
This commit is contained in:
parent
fbf7016e7c
commit
c4d0d80f3b
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue