Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove deps req and add docs/zip alias

  • Loading branch information...
commit c601036a3532e30d1070d2316fd40e5c451cfef5 1 parent 33c5a67
@johnbender johnbender authored
Showing with 4 additions and 4 deletions.
  1. +0 −4 build/tasks/legacy.js
  2. +4 −0 grunt.js
View
4 build/tasks/legacy.js
@@ -26,10 +26,6 @@ module.exports = function( grunt ) {
grunt.registerMultiTask('legacy_tasks', 'support for old build targets', function() {
var done = this.async(), name = this.name, self = this;
- ( this.data.deps || [] ).forEach(function(dep) {
- self.requires( 'legacy_tasks:' + dep );
- });
-
child_process.exec( (this.data.env || '') + ' bash build/bin/' + this.target + '.sh', function (error, stdout, stderr) {
if( error !== null ) {
grunt.log.error( stderr );
View
4 grunt.js
@@ -187,6 +187,10 @@ module.exports = function( grunt ) {
// A convenient task alias.
grunt.registerTask('test', 'config:test junit');
+ // Ease of use aliases for users who want the zip and docs
+ grunt.registerTask('docs', 'js css legacy_tasks:docs');
+ grunt.registerTask('zip', 'js css legacy_tasks:zip');
+
// load the project's default tasks
grunt.loadTasks( 'build/tasks');
};
Please sign in to comment.
Something went wrong with that request. Please try again.