mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Update build and load script to not create symbolic links.
This commit is contained in:
parent
2845313dfd
commit
9ac34d44e1
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue