Tone.js/build/script/build.sh

15 lines
363 B
Bash
Raw Normal View History

#remove the old build
2014-04-16 00:08:53 +00:00
rm ../Tone.js
#collect all of the deps
node collect.js
#r.js it
r.js -o build.js
#remove main.js
2014-04-16 00:08:53 +00:00
rm ../../main.js
#delete the last two lines where the r.js put the require and define
sed -ie '$d' Tone.js
sed -ie '$d' Tone.js
#remove Tone.jse which sed just made for some reason
rm ./Tone.jse
2014-04-16 00:08:53 +00:00
#move tone to the build folder
mv ./Tone.js ../