MIDI.js/build.sh
2012-06-29 22:08:38 -07:00

14 lines
320 B
Bash
Executable file

#!/bin/bash
mkdir -p build
OUT=build/MIDI.minimal.js
echo "//MIDI.js minimal Browserify wrapper" > $OUT
for file in js/DOMLoader.*.js js/VersionControl.Base64.js js/lib/base64binary.js js/MIDI.*.js
do
cat $file >> $OUT
echo "" >> $OUT
done
echo "if (typeof module !== 'undefined') module.exports = MIDI;" >> $OUT