Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
remove deps req and add docs/zip alias
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Jun 11, 2012
1 parent 33c5a67 commit c601036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build/tasks/legacy.js
Expand Up @@ -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 );
Expand Down
4 changes: 4 additions & 0 deletions grunt.js
Expand Up @@ -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');
};

0 comments on commit c601036

Please sign in to comment.