diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-07-05 14:34:15 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-07-05 14:34:15 -0400 |
commit | 7716c3d46116722b7d6b4cc5470956f203376b7f (patch) | |
tree | a071bf544d32a3f5a740b549b584a3bd4187e947 /build/tasks | |
parent | be58dcf708bcb8ba087d0979515afd0673554ff8 (diff) | |
download | jquery-ui-7716c3d46116722b7d6b4cc5470956f203376b7f.tar.gz jquery-ui-7716c3d46116722b7d6b4cc5470956f203376b7f.zip |
Grunt: Use grunt-git-authors plugin to generate authors list.
Diffstat (limited to 'build/tasks')
-rw-r--r-- | build/tasks/build.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index 51c2fefdb..06a4b98a2 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -185,28 +185,4 @@ grunt.registerTask( "clean", function() { require( "rimraf" ).sync( "dist" ); }); -grunt.registerTask( "authors", function() { - var done = this.async(); - - grunt.utils.spawn({ - cmd: "git", - args: [ "log", "--pretty=%an <%ae>" ] - }, function( err, result ) { - if ( err ) { - grunt.log.error( err ); - return done( false ); - } - - var authors, - tracked = {}; - authors = result.split( "\n" ).reverse().filter(function( author ) { - var first = !tracked[ author ]; - tracked[ author ] = true; - return first; - }).join( "\n" ); - grunt.log.writeln( authors ); - done(); - }); -}); - };
\ No newline at end of file |