aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-07-05 14:34:15 -0400
committerScott González <scott.gonzalez@gmail.com>2012-07-05 14:34:15 -0400
commit7716c3d46116722b7d6b4cc5470956f203376b7f (patch)
treea071bf544d32a3f5a740b549b584a3bd4187e947 /build
parentbe58dcf708bcb8ba087d0979515afd0673554ff8 (diff)
downloadjquery-ui-7716c3d46116722b7d6b4cc5470956f203376b7f.tar.gz
jquery-ui-7716c3d46116722b7d6b4cc5470956f203376b7f.zip
Grunt: Use grunt-git-authors plugin to generate authors list.
Diffstat (limited to 'build')
-rw-r--r--build/tasks/build.js24
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