@@ -91,6 +91,17 @@ module.exports = function (grunt) {
9191 }
9292 } ,
9393
94+ // *************************************************************************************
95+ // COPY
96+ // *************************************************************************************
97+ copy : {
98+ main : {
99+ files : [
100+ { expand : true , flatten : true , src : [ 'bower_components/bootstrap/dist/fonts/*' ] , dest : '<%= pkg.target %>/fonts/' }
101+ ]
102+ }
103+ } ,
104+
94105 // *************************************************************************************
95106 // JSHINT
96107 // *************************************************************************************
@@ -194,6 +205,7 @@ module.exports = function (grunt) {
194205 // GRUNT PLUGIN : tasks
195206 // *************************************************************************************
196207 grunt . loadNpmTasks ( 'grunt-bower-task' ) ;
208+ grunt . loadNpmTasks ( 'grunt-contrib-copy' ) ;
197209 grunt . loadNpmTasks ( 'grunt-contrib-concat' ) ;
198210 grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
199211 grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
@@ -210,7 +222,7 @@ module.exports = function (grunt) {
210222 grunt . registerTask ( 'dev' , [ 'concat:js' , 'less:dev' , 'less:demo' ] ) ;
211223
212224 // Prod task(s).
213- grunt . registerTask ( 'prod' , [ 'jshint' , 'dev' , 'concat:demo' , 'concat:vendors' , 'less:prod' , 'uglify' ] ) ;
225+ grunt . registerTask ( 'prod' , [ 'jshint' , 'copy' , ' dev', 'concat:demo' , 'concat:vendors' , 'less:prod' , 'uglify' ] ) ;
214226
215227} ;
216228
0 commit comments