File tree Expand file tree Collapse file tree 3 files changed +2
-24
lines changed Expand file tree Collapse file tree 3 files changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -185,28 +185,4 @@ grunt.registerTask( "clean", function() {
185
185
require ( "rimraf" ) . sync ( "dist" ) ;
186
186
} ) ;
187
187
188
- grunt . registerTask ( "authors" , function ( ) {
189
- var done = this . async ( ) ;
190
-
191
- grunt . utils . spawn ( {
192
- cmd : "git" ,
193
- args : [ "log" , "--pretty=%an <%ae>" ]
194
- } , function ( err , result ) {
195
- if ( err ) {
196
- grunt . log . error ( err ) ;
197
- return done ( false ) ;
198
- }
199
-
200
- var authors ,
201
- tracked = { } ;
202
- authors = result . split ( "\n" ) . reverse ( ) . filter ( function ( author ) {
203
- var first = ! tracked [ author ] ;
204
- tracked [ author ] = true ;
205
- return first ;
206
- } ) . join ( "\n" ) ;
207
- grunt . log . writeln ( authors ) ;
208
- done ( ) ;
209
- } ) ;
210
- } ) ;
211
-
212
188
} ;
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ grunt.loadNpmTasks( "grunt-css" );
85
85
grunt . loadNpmTasks ( "grunt-html" ) ;
86
86
grunt . loadNpmTasks ( "grunt-compare-size" ) ;
87
87
grunt . loadNpmTasks ( "grunt-junit" ) ;
88
+ grunt . loadNpmTasks ( "grunt-git-authors" ) ;
88
89
// local testswarm and build tasks
89
90
grunt . loadTasks ( "build/tasks" ) ;
90
91
Original file line number Diff line number Diff line change 57
57
"grunt-compare-size" : " 0.1.4" ,
58
58
"grunt-html" : " 0.1.1" ,
59
59
"grunt-junit" : " 0.1.4" ,
60
+ "grunt-git-authors" : " 1.0.0" ,
60
61
"request" : " 2.9.153" ,
61
62
"rimraf" : " 2.0.1" ,
62
63
"testswarm" : " 0.2.3"
You can’t perform that action at this time.
0 commit comments