Skip to content

Commit 4d12cb8

Browse files
committed
Switch from "out" folder for built library to "dist".
1 parent b466ac8 commit 4d12cb8

41 files changed

Lines changed: 44 additions & 45 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/files/
2-
/out/

build/build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ else
2525
MODE=$1
2626
fi
2727

28-
# Create the out folder if it does not exist yet.
29-
if [ ! -d ../out/ ]
28+
# Create the dist folder if it does not exist yet.
29+
if [ ! -d ../dist/ ]
3030
then
31-
mkdir ../out/
31+
mkdir ../dist/
3232
fi
3333

34-
./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE
35-
./preprocess.sh ../src/paper.js ../out/paper-server.js "-DSERVER" $MODE
34+
./preprocess.sh ../src/paper.js ../dist/paper.js "-DBROWSER" $MODE
35+
./preprocess.sh ../src/paper.js ../dist/paper-server.js "-DSERVER" $MODE

build/docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ cd jsdoc-toolkit
2626
java -jar jsrun.jar app/run.js -c=conf/$MODE.conf -D="renderMode:$MODE"
2727
cd ..
2828

29-
./preprocess.sh ../src/paper.js ../out/docs/resources/js/paper.js "-DBROWSER" stripped
29+
./preprocess.sh ../src/paper.js ../dist/docs/resources/js/paper.js "-DBROWSER" stripped

build/jsdoc-toolkit/conf/docs.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
p: false,
2424

2525
// use this directory as the output directory
26-
d: "../../out/docs",
26+
d: "../../dist/docs",
2727

2828
// use this template
2929
t: "templates/jsdoc"

build/jsdoc-toolkit/conf/templates.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
p: false,
2424

2525
// use this directory as the output directory
26-
d: "../../out/templates",
26+
d: "../../dist/templates",
2727

2828
// use this template
2929
t: "templates/jsdoc"

build/jsdoc-toolkit/templates/jsdoc/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function publish(symbolSet) {
99
var templates = renderMode == 'templates';
1010
var extension = '.html';
1111
var templateDir = JSDOC.opt.t || SYS.pwd + '../templates/jsdoc/';
12-
var outDir = JSDOC.opt.d || SYS.pwd + '../out/jsdoc/';
12+
var outDir = JSDOC.opt.d || SYS.pwd + '../dist/docs/';
1313

1414
publish.conf = { // trailing slash expected for dirs
1515
// Use no extensions in links for templates

build/load.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
echo "// Paper.js loader for development, as produced by the build/load.sh script
1717
var root = '../../';
1818
document.write('<script type=\"text/javascript\" src=\"' + root
19-
+ 'src/load.js\"></script>');" > ../out/paper.js;
19+
+ 'src/load.js\"></script>');" > ../dist/paper.js;

examples/Animated/AnimatedStar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Example</title>
66
<link rel="stylesheet" href="../css/style.css">
7-
<script type="text/javascript" src="../../out/paper.js"></script>
7+
<script type="text/javascript" src="../../dist/paper.js"></script>
88
<script type="text/paperscript" canvas="canvas">
99
var layer = project.activeLayer;
1010

examples/Animated/Extruded.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Example</title>
66
<link rel="stylesheet" href="../css/style.css">
7-
<script type="text/javascript" src="../../out/paper.js"></script>
7+
<script type="text/javascript" src="../../dist/paper.js"></script>
88
<script type="text/paperscript" canvas="canvas">
99
var segments = [
1010
[new Point(63.39306640625, 265.7138671875), null, new Point(10.86669921875, 6.96630859375)],

examples/Animated/Flock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Example</title>
66
<link rel="stylesheet" href="../css/style.css">
7-
<script type="text/javascript" src="../../out/paper.js"></script>
7+
<script type="text/javascript" src="../../dist/paper.js"></script>
88
<script type="text/paperscript" canvas="canvas">
99
// Adapted from Flocking Processing example by Daniel Schiffman:
1010
// http://processing.org/learning/topics/flocking.html

0 commit comments

Comments
 (0)