Comparing version 0.3.7 to 0.3.8
@@ -159,7 +159,5 @@ var CSSTarget, JSTarget, Target, coffee, file, fs, growl, less, log, path, stylus, term, uglify; | ||
content = f.compile ? this._compile(f.contents, filepath) : f.contents; | ||
if (content) { | ||
if (content != null) { | ||
if (!this.nodejs) content = f.wrap(content, true, false); | ||
this._writeFile(content, filepath, false); | ||
} else { | ||
return null; | ||
} | ||
@@ -176,3 +174,3 @@ } | ||
content = this._compile(contents.join('\n\n'), this.output); | ||
if (content) { | ||
if (content != null) { | ||
if (!(this.nodejs || this.parentTarget)) { | ||
@@ -179,0 +177,0 @@ content = "" + (fs.readFileSync(path.join(__dirname, this.REQUIRE), 'utf8')) + "\n\n" + content; |
{ | ||
"name": "buddy", | ||
"description": "A build framework for the compilation of higher order js/css languages (coffeescript/stylus/less).", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"author": "popeindustries <alex@pope-industries.com>", | ||
@@ -6,0 +6,0 @@ "keywords": ["javascript", "coffeescript", "styus", "less"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55046
723