MIDI.js/grunt.js

35 lines
790 B
JavaScript
Raw Normal View History

2012-11-21 11:11:19 +01:00
/*
Build environment
----------------------------------------
1) Install NodeJS:
http://nodejs.org/
2) Install Grunt
npm install grunt
*/
module.exports = function (grunt) {
grunt.initConfig({
concat: {
'build/MIDI.js': [
"./js/MIDI/AudioDetect.js",
"./js/MIDI/LoadPlugin.js",
"./js/MIDI/Plugin.js",
"./js/MIDI/Player.js",
"./js/Window/DOMLoader.XMLHttp.js", // req when using XHR
"./js/Window/DOMLoader.script.js", // req otherwise
// "./js/Color/SpaceW3.js", // optional
// "./js/MusicTheory/Synesthesia.js", // optional
// "./js/Widgets/Loader.js", // optional
// "./js/Window/Event.js" // optional
]
2012-11-21 11:11:19 +01:00
},
min: {
'build/MIDI.min.js': [
'build/MIDI.js'
]
2012-11-21 11:11:19 +01:00
}
});
///
grunt.registerTask('default', 'concat min');
///
};