Skip to content

Commit bf0c7c1

Browse files
committed
adds static dump task
1 parent e39ba6d commit bf0c7c1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Gruntfile.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,20 @@ module.exports = function(grunt) {
1717
watch: {
1818
files: ['components/*.js', '*.pde'],
1919
tasks: 'default'
20+
},
21+
copy: {
22+
main: {
23+
cwd: 'web/',
24+
expand: true,
25+
src: ['**'],
26+
dest: 'static/',
27+
},
2028
}
2129
});
2230

23-
grunt.registerTask('default', ['concat']);
31+
grunt.registerTask('default', ['concat', 'copy']);
2432

2533
grunt.loadNpmTasks('grunt-contrib-watch');
2634
grunt.loadNpmTasks('grunt-contrib-concat');
35+
grunt.loadNpmTasks('grunt-contrib-copy');
2736
};

0 commit comments

Comments
 (0)