Update build and load script to not create symbolic links.

This commit is contained in:
Jürg Lehni 2013-06-27 03:20:45 -07:00
parent 2845313dfd
commit 9ac34d44e1
2 changed files with 3 additions and 3 deletions

View file

@ -34,9 +34,9 @@ fi
./preprocess.sh $MODE ../src/paper.js "-o '{ \"browser\": true, \"paperscript\": false }' -i '../src/constants.js'" ../dist/paper-core.js
#./preprocess.sh $MODE ../src/paper.js "-o '{ \"node\": true }' -i '../src/constants.js'" ../dist/paper-node.js
# Remove the symbolic link and create a new one to the built library now
# Remove the existing file or symbolic link and copy paper-full.js to paper.js now
if [ -f ../dist/paper.js ]
then
rm ../dist/paper.js
fi
ln -s paper-full.js ../dist/paper.js
cp ../dist/paper-full.js ../dist/paper.js

View file

@ -17,4 +17,4 @@ if [ -f ../dist/paper.js ]
then
rm ../dist/paper.js
fi
ln -s ../src/load.js ../dist/paper.js
cp ../src/load.js ../dist/paper.js