mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Move jsdoc creation to its own build script.
This commit is contained in:
parent
90631b9dd0
commit
ad2c7332de
2 changed files with 16 additions and 5 deletions
|
@ -33,8 +33,3 @@ fi
|
||||||
|
|
||||||
./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE
|
./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE
|
||||||
./preprocess.sh ../src/paper.js ../out/paper-server.js "-DSERVER" $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
16
build/docs.sh
Executable 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 ..
|
Loading…
Reference in a new issue