Skip to content

Commit

Permalink
switch to vinyl-fs
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Jan 16, 2014
1 parent 636f016 commit 13e0f97
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 232 deletions.
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ build
*.node
components
sandbox
.idea
.idea
sandbox
test/out-fixtures/*
7 changes: 4 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
var util = require('util');
var Orchestrator = require('orchestrator');
var gutil = require('gulp-util');
var vfs = require('vinyl-fs');

function Gulp(){
Orchestrator.call(this);
Expand All @@ -21,9 +22,9 @@ Gulp.prototype.run = function(){
this.start.apply(this, tasks);
};

Gulp.prototype.src = require('./lib/createInputStream');
Gulp.prototype.dest = require('./lib/createOutputStream');
Gulp.prototype.watch = require('glob-watcher');
Gulp.prototype.src = vfs.src;
Gulp.prototype.dest = vfs.dest;
Gulp.prototype.watch = vfs.watch;

// let people use this class from our instance
Gulp.prototype.Gulp = Gulp;
Expand Down
9 changes: 0 additions & 9 deletions lib/createInputStream/bufferFile.js

This file was deleted.

28 changes: 0 additions & 28 deletions lib/createInputStream/getContents.js

This file was deleted.

12 changes: 0 additions & 12 deletions lib/createInputStream/getStats.js

This file was deleted.

23 changes: 0 additions & 23 deletions lib/createInputStream/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions lib/createInputStream/readDir.js

This file was deleted.

6 changes: 0 additions & 6 deletions lib/createInputStream/streamFile.js

This file was deleted.

28 changes: 0 additions & 28 deletions lib/createOutputStream/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions lib/createOutputStream/writeDir.js

This file was deleted.

27 changes: 0 additions & 27 deletions lib/createOutputStream/writeFile.js

This file was deleted.

13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gulp",
"description": "The streaming build system",
"version": "3.3.4",
"version": "3.3.5",
"homepage": "http://github.com/wearefractal/gulp",
"repository": "git://github.com/wearefractal/gulp.git",
"author": "Fractal <[email protected]> (http://wearefractal.com/)",
Expand All @@ -15,19 +15,13 @@
"gulp": "./bin/gulp.js"
},
"dependencies": {
"glob-stream": "~3.1.2",
"mkdirp": "~0.3.5",
"optimist": "~0.6.0",
"gulp-util": "~2.2.0",
"orchestrator": "~0.3.0",
"resolve": "~0.6.1",
"findup-sync": "~0.1.2",
"pretty-hrtime": "~0.2.0",
"glob-watcher": "~0.0.1",
"graceful-fs": "~2.0.1",
"through": "~2.3.4",
"map-stream": "~0.1.0",
"semver": "~2.2.1"
"vinyl-fs": "0.0.1"
},
"devDependencies": {
"mocha": "~1.17.0",
Expand All @@ -37,7 +31,8 @@
"should": "~2.1.1",
"rimraf": "~2.2.5",
"q": "~1.0.0",
"jshint": "~2.4.1"
"jshint": "~2.4.1",
"graceful-fs": "~2.0.1"
},
"scripts": {
"test": "mocha --reporter spec && jshint",
Expand Down
73 changes: 0 additions & 73 deletions test/file-utils.js

This file was deleted.

0 comments on commit 13e0f97

Please sign in to comment.