Comparing version 0.1.0 to 0.2.0
@@ -83,2 +83,3 @@ 'use strict'; | ||
var cwd = ref.cwd; if ( cwd === void 0 ) cwd = '.'; | ||
var clean = ref.clean; | ||
return __async(function*(){ | ||
@@ -88,2 +89,6 @@ const destPath = path.resolve(cwd, dest); | ||
if (clean) { | ||
yield fs.rmdir(destPath); | ||
} | ||
yield Promise.all(Object.keys(files).map(filename => { | ||
@@ -107,3 +112,3 @@ var ref = files[filename]; | ||
fileStat(relative) { | ||
fileStats(relative) { | ||
return this.file(relative).stats | ||
@@ -110,0 +115,0 @@ } |
{ | ||
"name": "majo", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "my badass project", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -9,3 +9,3 @@ # majo | ||
[](https://npmjs.com/package/majo) [](https://npmjs.com/package/majo) [](https://circleci.com/gh/egoist/majo/tree/master) [](https://github.com/egoist/donate) | ||
[](https://npmjs.com/package/majo) [](https://npmjs.com/package/majo) [](https://circleci.com/gh/egoist/majo/tree/master) [](https://github.com/egoist/donate) | ||
@@ -12,0 +12,0 @@ ## Install |
7252
98