Skip to content

Commit

Permalink
binFile to .js and fix orchestrator default issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Oct 31, 2013
1 parent 8005882 commit dbe7e47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
File renamed without changes.
10 changes: 8 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ Gulp.prototype.log = function(){

Gulp.prototype.taskQueue = Gulp.prototype.seq;
Gulp.prototype.task = Gulp.prototype.add;
Gulp.prototype.run = Gulp.prototype.start;
Gulp.prototype.run = function(tasks){
if (!tasks || !tasks.length) {
tasks = ['default'];
}
this.start(tasks);
};

Gulp.prototype.src = require('./lib/createInputStream');
Gulp.prototype.dest = require('./lib/createOutputStream');
Gulp.prototype.watch = require('./lib/watchFile');
Gulp.prototype.createGlobStream = require('glob-stream').create;

Gulp.prototype.createGlobStream = require('glob-stream').create;
Gulp.prototype.formatFile = require('./lib/formatFile');
Gulp.prototype.bufferFile = require('./lib/bufferFile');
Gulp.prototype.streamFile = require('./lib/streamFile');
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name":"gulp",
"description":"The streaming build system",
"version":"2.0.1",
"version":"2.1.0",
"homepage":"http://github.com/wearefractal/gulp",
"repository":"git://github.com/wearefractal/gulp.git",
"author":"Fractal <[email protected]> (http://wearefractal.com/)",
"main":"./index.js",
"preferGlobal":true,

"bin":{
"gulp":"./bin/gulp"
"gulp":"./bin/gulp.js"
},
"dependencies":{
"event-stream":"3.0.16",
Expand All @@ -26,10 +26,11 @@
"mocha":"*",
"should":"*",
"rimraf":"*",
"q": "*"
"q": "*",
"jshint": "*"
},
"scripts":{
"test":"mocha"
"test":"mocha && jshint"
},
"engines":{
"node":">= 0.8"
Expand Down

0 comments on commit dbe7e47

Please sign in to comment.