broccoli-static-compiler
Advanced tools
Comparing version 0.2.0 to 0.2.1
# master | ||
# 0.2.1 | ||
* Fix regression in using a `destDir` of `/` (without an array if `file` globs). [#14](https://github.com/joliss/broccoli-static-compiler/pull/14) | ||
# 0.2.0 | ||
@@ -4,0 +8,0 @@ |
@@ -52,3 +52,10 @@ var fs = require('fs') | ||
} | ||
// if destDir was / then remove the temp folder | ||
// created by broccoli-writer so we can symlink | ||
// directly | ||
if (this.tmpDestDir === destPath) { | ||
fs.rmdirSync(destPath); | ||
} | ||
symlinkOrCopySync(sourcePath, destPath) | ||
} |
{ | ||
"name": "broccoli-static-compiler", | ||
"description": "Broccoli compiler to copy static files", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Jo Liss <joliss42@gmail.com>", | ||
@@ -21,3 +21,11 @@ "main": "index.js", | ||
"symlink-or-copy": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"broccoli": "^0.13.1", | ||
"jshint": "^2.5.6", | ||
"tap": "^0.4.13" | ||
}, | ||
"scripts": { | ||
"test": "jshint ./*.js test/*.js && tap --timeout 2 ./test/*_test.js" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
13822
13
104
3
2