From 4d12cb87fcbbc04f8e0ee9f7cbb25ff85e825455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 12 Jun 2011 19:03:18 +0100 Subject: [PATCH] Switch from "out" folder for built library to "dist". --- .gitignore | 1 - build/build.sh | 10 +++++----- build/docs.sh | 2 +- build/jsdoc-toolkit/conf/docs.conf | 2 +- build/jsdoc-toolkit/conf/templates.conf | 2 +- build/jsdoc-toolkit/templates/jsdoc/publish.js | 2 +- build/load.sh | 2 +- examples/Animated/AnimatedStar.html | 2 +- examples/Animated/Extruded.html | 2 +- examples/Animated/Flock.html | 2 +- examples/Animated/Lines.html | 2 +- examples/Animated/RadialRainbows.html | 2 +- examples/Animated/Raster.html | 2 +- examples/Animated/RoundedRectangles.html | 2 +- examples/Animated/Smoothing.html | 2 +- examples/Scripts/Arcs.html | 2 +- examples/Scripts/BouncingBalls.html | 2 +- examples/Scripts/Chain.html | 2 +- examples/Scripts/Circle.html | 2 +- examples/Scripts/CompoundPath.html | 2 +- examples/Scripts/CurveTimeParametrization.html | 2 +- examples/Scripts/Letter.html | 2 +- examples/Scripts/PathStructure.html | 2 +- examples/Scripts/PhyllotaxisRaster.html | 2 +- examples/Scripts/RotationRaster.html | 2 +- examples/Scripts/RoundRectangle.html | 2 +- examples/Scripts/StrokeBounds.html | 2 +- examples/Tools/BezierTool.html | 2 +- examples/Tools/Circles.html | 2 +- examples/Tools/Clouds.html | 2 +- examples/Tools/DrawCurves.html | 2 +- examples/Tools/Dripping Brush.html | 2 +- examples/Tools/Fancy Brush.html | 2 +- examples/Tools/Grid.html | 2 +- examples/Tools/MetaBalls.html | 2 +- examples/Tools/MultiLines.html | 2 +- examples/Tools/SquareRounded.html | 2 +- examples/Tools/Stars.html | 2 +- examples/Tools/Vektor.html | 2 +- examples/Tools/Wave.html | 2 +- examples/Tools/Worm Farm.html | 2 +- 41 files changed, 44 insertions(+), 45 deletions(-) diff --git a/.gitignore b/.gitignore index 93b59b8d..bb97907e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /files/ -/out/ diff --git a/build/build.sh b/build/build.sh index 8e64d205..1a556dc5 100755 --- a/build/build.sh +++ b/build/build.sh @@ -25,11 +25,11 @@ else MODE=$1 fi -# Create the out folder if it does not exist yet. -if [ ! -d ../out/ ] +# Create the dist folder if it does not exist yet. +if [ ! -d ../dist/ ] then - mkdir ../out/ + mkdir ../dist/ fi -./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 ../dist/paper.js "-DBROWSER" $MODE +./preprocess.sh ../src/paper.js ../dist/paper-server.js "-DSERVER" $MODE diff --git a/build/docs.sh b/build/docs.sh index 07658730..93f690e3 100755 --- a/build/docs.sh +++ b/build/docs.sh @@ -26,4 +26,4 @@ cd jsdoc-toolkit java -jar jsrun.jar app/run.js -c=conf/$MODE.conf -D="renderMode:$MODE" cd .. -./preprocess.sh ../src/paper.js ../out/docs/resources/js/paper.js "-DBROWSER" stripped \ No newline at end of file +./preprocess.sh ../src/paper.js ../dist/docs/resources/js/paper.js "-DBROWSER" stripped \ No newline at end of file diff --git a/build/jsdoc-toolkit/conf/docs.conf b/build/jsdoc-toolkit/conf/docs.conf index c677f6ac..6dcd1fc1 100644 --- a/build/jsdoc-toolkit/conf/docs.conf +++ b/build/jsdoc-toolkit/conf/docs.conf @@ -23,7 +23,7 @@ p: false, // use this directory as the output directory - d: "../../out/docs", + d: "../../dist/docs", // use this template t: "templates/jsdoc" diff --git a/build/jsdoc-toolkit/conf/templates.conf b/build/jsdoc-toolkit/conf/templates.conf index 14841ebc..301e9130 100644 --- a/build/jsdoc-toolkit/conf/templates.conf +++ b/build/jsdoc-toolkit/conf/templates.conf @@ -23,7 +23,7 @@ p: false, // use this directory as the output directory - d: "../../out/templates", + d: "../../dist/templates", // use this template t: "templates/jsdoc" diff --git a/build/jsdoc-toolkit/templates/jsdoc/publish.js b/build/jsdoc-toolkit/templates/jsdoc/publish.js index 9ad95d7a..c70e79b2 100644 --- a/build/jsdoc-toolkit/templates/jsdoc/publish.js +++ b/build/jsdoc-toolkit/templates/jsdoc/publish.js @@ -9,7 +9,7 @@ function publish(symbolSet) { var templates = renderMode == 'templates'; var extension = '.html'; var templateDir = JSDOC.opt.t || SYS.pwd + '../templates/jsdoc/'; - var outDir = JSDOC.opt.d || SYS.pwd + '../out/jsdoc/'; + var outDir = JSDOC.opt.d || SYS.pwd + '../dist/docs/'; publish.conf = { // trailing slash expected for dirs // Use no extensions in links for templates diff --git a/build/load.sh b/build/load.sh index 2475c915..b965b52c 100755 --- a/build/load.sh +++ b/build/load.sh @@ -16,4 +16,4 @@ echo "// Paper.js loader for development, as produced by the build/load.sh script var root = '../../'; document.write('');" > ../out/paper.js; \ No newline at end of file + + 'src/load.js\">');" > ../dist/paper.js; \ No newline at end of file diff --git a/examples/Animated/AnimatedStar.html b/examples/Animated/AnimatedStar.html index ee965f1e..f46bd572 100644 --- a/examples/Animated/AnimatedStar.html +++ b/examples/Animated/AnimatedStar.html @@ -4,7 +4,7 @@ Example - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +