Adding asset copying to grunt
diff --git a/Gruntfile.js b/Gruntfile.js
index 5a7ac89..510bb44 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -71,11 +71,32 @@
}
}
},
+ // see https://github.com/gruntjs/grunt-contrib-copy/issues/64
copy : {
- src: 'dev/font/**',
- dest: 'public/font/',
- nonull: true,
- timestamp: true
+ options: {
+ process:false
+ },
+ main: {
+ files:[
+ {
+ expand: true,
+ cwd: 'dev/font/',
+ src: '**',
+ dest: 'public/font/',
+ filter: 'isFile',
+ nonull: true,
+ timestamp: true
+ },
+ {
+ expand: true,
+ cwd: 'dev/img/',
+ src: 'favicon.ico',
+ dest: 'public/',
+ nonull:true,
+ timestamp:true
+ }
+ ]
+ }
},
watch: {
/*
diff --git a/dev/img/favicon.ico b/dev/img/favicon.ico
new file mode 100644
index 0000000..85d8593
--- /dev/null
+++ b/dev/img/favicon.ico
Binary files differ