File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 mkdir ../dist/
3131fi
3232
33- ./preprocess.sh $MODE ../src/paper.js " -o '{ \" browser\" : true }' -i '../src/constants.js'" ../dist/paper.js
33+ ./preprocess.sh $MODE ../src/paper.js " -o '{ \" browser\" : true }' -i '../src/constants.js'" ../dist/paper-full .js
3434./preprocess.sh $MODE ../src/paper.js " -o '{ \" browser\" : true, \" paperscript\" : false }' -i '../src/constants.js'" ../dist/paper-core.js
3535# ./preprocess.sh $MODE ../src/paper.js "-o '{ \"node\": true }' -i '../src/constants.js'" ../dist/paper-node.js
36+
37+ # Remove the symbolic link and create a new one to the built library now
38+ if [ -f ../dist/paper.js ]
39+ then
40+ rm ../dist/paper.js
41+ fi
42+ ln -s paper-full.js ../dist/paper.js
Original file line number Diff line number Diff line change 1313# This script simply generates a symbolic link from dist/paper.js to src/load.js
1414# which loads the library from separate sources through PrePro.
1515
16- rm ../dist/paper.js
16+ if [ -f ../dist/paper.js ]
17+ then
18+ rm ../dist/paper.js
19+ fi
1720ln -s ../src/load.js ../dist/paper.js
Original file line number Diff line number Diff line change 1010#
1111# All rights reserved.
1212
13- ../node_modules/.bin/uglifyjs ../dist/paper.js -o ../dist/paper-min.js -c unsafe=true -m -b ascii_only=true,beautify=false --comments /^! /
14- ../node_modules/.bin/uglifyjs ../dist/paper-core.js -o ../dist/paper-core- min.js -c unsafe=true -m --comments /^! /
13+ ../node_modules/.bin/uglifyjs ../dist/paper-full .js -o ../dist/paper-full. min.js -c unsafe=true -m -b ascii_only=true,beautify=false --comments /^! /
14+ ../node_modules/.bin/uglifyjs ../dist/paper-core.js -o ../dist/paper-core. min.js -c unsafe=true -m --comments /^! /
Original file line number Diff line number Diff line change 1- /paper-min.js
2- /paper-server.js
31/docs /
42/serverdocs /
53/paperjs.zip
You can’t perform that action at this time.
0 commit comments