@@ -82,6 +82,20 @@ module.exports = function(grunt) {
82
82
}
83
83
}
84
84
} ,
85
+ concat : {
86
+ css :{
87
+ src : [
88
+ 'bower_components/bootstrap/dist/css/bootstrap.css'
89
+ ] ,
90
+ dest : 'libs.bundle.css'
91
+ }
92
+ } ,
93
+ cssmin : {
94
+ css :{
95
+ src : 'libs.bundle.css' ,
96
+ dest : 'libs.min.css'
97
+ }
98
+ } ,
85
99
watch : {
86
100
clear : {
87
101
files : [ 'src/*.js' , 'src/**/*.js' , 'tests/**/*.js' ] ,
@@ -248,6 +262,8 @@ module.exports = function(grunt) {
248
262
grunt . loadNpmTasks ( 'grunt-contrib-watch' ) ;
249
263
grunt . loadNpmTasks ( 'grunt-contrib-clean' ) ;
250
264
grunt . loadNpmTasks ( 'grunt-contrib-compress' ) ;
265
+ grunt . loadNpmTasks ( 'grunt-contrib-concat' ) ;
266
+ grunt . loadNpmTasks ( 'grunt-contrib-cssmin' ) ;
251
267
grunt . loadNpmTasks ( 'grunt-github-releaser' ) ;
252
268
grunt . loadNpmTasks ( 'grunt-prompt' ) ;
253
269
grunt . loadNpmTasks ( 'grunt-natural-docs' ) ;
@@ -261,7 +277,7 @@ module.exports = function(grunt) {
261
277
262
278
grunt . registerTask ( 'test' , [ 'intern:all' ] ) ;
263
279
grunt . registerTask ( 'ci' , [ 'todo' , 'jshint' , 'build' , 'intern:all' , 'coveralls:all' , 'docs' ] ) ;
264
- grunt . registerTask ( 'build' , [ 'uglify:libs' , 'uglify:libs-min' , 'uglify:bundle' , 'uglify:min' ] ) ;
280
+ grunt . registerTask ( 'build' , [ 'uglify:libs' , 'uglify:libs-min' , 'uglify:bundle' , 'uglify:min' , 'concat:css' , 'cssmin:css' ] ) ;
265
281
grunt . registerTask ( 'default' , [
266
282
'jshint' , 'build' , 'notify:default' , 'intern:unit'
267
283
] ) ;
0 commit comments