forked from mudcube/MIDI.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrunt.js
35 lines (34 loc) · 790 Bytes
/
grunt.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
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
]
},
min: {
'build/MIDI.min.js': [
'build/MIDI.js'
]
}
});
///
grunt.registerTask('default', 'concat min');
///
};