Move jsdoc creation to its own build script.

This commit is contained in:
Jürg Lehni 2011-05-31 22:17:13 +01:00
parent 90631b9dd0
commit ad2c7332de
2 changed files with 16 additions and 5 deletions

View file

@ -33,8 +33,3 @@ fi
./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE
./preprocess.sh ../src/paper.js ../out/paper-server.js "-DSERVER" $MODE
# Generate documentation
# TODO: switch this on with a flag
cd jsdoc-toolkit
java -jar jsrun.jar app/run.js -c=conf/paperjs.conf

16
build/docs.sh Executable file
View file

@ -0,0 +1,16 @@
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,
# based on Scriptographer.org and designed to be largely API compatible.
# http://scriptographer.org/
#
# Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
# http://lehni.org/ & http://jonathanpuckey.com/
#
# All rights reserved. See LICENSE file for details.
# Generate documentation
cd jsdoc-toolkit
java -jar jsrun.jar app/run.js -c=conf/paperjs.conf
cd ..