-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
35 lines (29 loc) · 1.3 KB
/
Gruntfile.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
module.exports = function (grunt) {
// ===========================================================================
// CONFIGURE GRUNT ===========================================================
// ===========================================================================
grunt.initConfig({
// get the configuration info from package.json ----------------------------
// this way we can use things like name and version (pkg.name)
pkg: grunt.file.readJSON('package.json'),
// all of our configuration will go here
copy: {
build: {
files: [
{
expand: true,
src: ['bower_components/samizdatco-arbor/lib/*'],
dest: 'Resources/Public/js/samizdatco-arbor/',
filter: 'isFile',
flatten: true
}
]
}
}
});
// ===========================================================================
// LOAD GRUNT PLUGINS ========================================================
// ===========================================================================
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask('default', 'copy');
};