2012-06-30 07:08:38 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
mkdir -p build
|
|
|
|
OUT=build/MIDI.minimal.js
|
|
|
|
|
|
|
|
echo "//MIDI.js minimal Browserify wrapper" > $OUT
|
|
|
|
|
2012-10-10 07:59:04 +02:00
|
|
|
for file in js/DOMLoader.*.js js/Polyfill/Base64.js inc/base64binary.js js/MIDI.*.js
|
2012-06-30 07:08:38 +02:00
|
|
|
do
|
|
|
|
cat $file >> $OUT
|
|
|
|
echo "" >> $OUT
|
|
|
|
done
|
|
|
|
|
|
|
|
echo "if (typeof module !== 'undefined') module.exports = MIDI;" >> $OUT
|