Comparing version 0.7.11 to 0.7.12
@@ -104,2 +104,3 @@ /* | ||
path = require('path'), | ||
nodeExists = fs.exists || path.exists, | ||
mkdirp = require('mkdirp').mkdirp, | ||
@@ -123,3 +124,3 @@ Crypto = require('crypto'); | ||
path.exists(dirname, function(exists) { | ||
nodeExists(dirname, function(exists) { | ||
if (!exists) { | ||
@@ -145,2 +146,2 @@ mkdirp(dirname, '0755', function(err) { | ||
Blob.writeFile = Blob.prototype.writeFile = (typeof module === 'undefined') ? writeFile.client : writeFile.server; | ||
Blob.writeFile = Blob.prototype.writeFile = (typeof module === 'undefined') ? writeFile.client : writeFile.server; |
@@ -7,3 +7,5 @@ /* | ||
if (typeof module !== 'undefined') { | ||
var path = require('path'); | ||
var fs = require('fs'), | ||
path = require('path'), | ||
existsSync = fs.existsSync || path.existsSync; | ||
} | ||
@@ -67,3 +69,3 @@ else { | ||
_loadDir: function(dirname) { | ||
if (!path.existsSync(dirname)) { | ||
if (!existsSync(dirname)) { | ||
throw new Error('Directory ' + dirname + ' doesn\'t exist'); | ||
@@ -86,3 +88,3 @@ } | ||
if (!path.existsSync(filename)) { | ||
if (!existsSync(filename)) { | ||
throw new Error('File ' + filename + ' doesn\'t exist'); | ||
@@ -108,2 +110,2 @@ } | ||
} | ||
}; | ||
}; |
{ | ||
"name": "gear", | ||
"version": "0.7.11", | ||
"version": "0.7.12", | ||
"description": "Gear.js - Task-based build system.", | ||
@@ -5,0 +5,0 @@ "author": "Stephen Murphy <stephen@hypernaut.com>", |
# Gear.js | ||
## Task-Based Build System | ||
## Build System for Node.js and the Browser | ||
Gear.js is a scriptable build system using simple tasks that act like a sequence of piped commands. | ||
Gear.js is an easy to use, simple to extend, and powerful build system. Chain tasks together to build projects with ease. | ||
Features include: | ||
* Runs in Node and the browser. | ||
Features: | ||
* Basic building blocks that can be combined to perform complex builds. | ||
@@ -14,2 +14,3 @@ * Tasks are simply defined and keep system internals to a minimum. | ||
* Advanced flow control for complex task execution. | ||
* Runs in Node.js and the browser. | ||
@@ -64,3 +65,3 @@ ## Installation | ||
* [Documentation](http://yahoo.github.com/gear) | ||
* [Issues](http://github.com/yahoo/gear/issues) | ||
* [Documentation](http://gearjs.org) | ||
* [Issues](http://github.com/yahoo/gear/issues) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
552539
2520
66
12