This repository was archived by the owner on Mar 26, 2018. It is now read-only.
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ module.exports = function (grunt) {
30
30
grunt . fail . fatal ( 'Destination ' + el . dest + ' for target ' + target + ' is not a directory' ) ;
31
31
}
32
32
} catch ( err ) {
33
- grunt . log . writeln ( 'Destination dir ' + el . dest + ' does not exists for target ' + target + ': creating' ) ;
33
+ grunt . verbose . writeln ( 'Destination dir ' + el . dest + ' does not exists for target ' + target + ': creating' ) ;
34
34
grunt . file . mkdir ( el . dest ) ;
35
35
}
36
36
// We need to copy file as we now have a dest different from the src
@@ -75,13 +75,14 @@ module.exports = function (grunt) {
75
75
}
76
76
77
77
filerev . summary [ path . normalize ( file ) ] = path . join ( dirname , newName ) ;
78
- grunt . log . writeln ( chalk . green ( '✔ ' ) + file + chalk . gray ( ' changed to ' ) + newName ) ;
78
+ grunt . verbose . writeln ( chalk . green ( '✔ ' ) + file + chalk . gray ( ' changed to ' ) + newName ) ;
79
79
if ( sourceMap ) {
80
80
filerev . summary [ path . normalize ( file + '.map' ) ] = path . join ( dirname , newName + '.map' ) ;
81
- grunt . log . writeln ( chalk . green ( '✔ ' ) + file + '.map' + chalk . gray ( ' changed to ' ) + newName + '.map' ) ;
81
+ grunt . verbose . writeln ( chalk . green ( '✔ ' ) + file + '.map' + chalk . gray ( ' changed to ' ) + newName + '.map' ) ;
82
82
}
83
83
84
84
} ) ;
85
+ grunt . log . writeln ( 'Revved ' + chalk . cyan ( el . src . length ) + ' files' ) ;
85
86
86
87
next ( ) ;
87
88
} , this . async ( ) ) ;
You can’t perform that action at this time.
0 commit comments