We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67e66c4 commit 70d8674Copy full SHA for 70d8674
2 files changed
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
### Fixes
6
7
+- [Issue #13] - html-to-app fails if out-of-source build, with -f, and dist folder already existing
8
- [Issue #12] - html-to-app -c should kill program after creating config file
9
10
## [0.1.0] - 2018-03-26
lib/chainlinks/builder.js
@@ -44,8 +44,13 @@ let Builder = function() {
44
shell.execSync("rm -rf bin");
45
}
46
47
+ // Create build directory if necessary
48
+ if (!fs.existsSync(buildPath)) {
49
+ this.binCmd("mkdir " + buildPath, false);
50
+ }
51
+
52
// Install
- if (this.binCmd("mkdir " + buildPath, false) &&
53
+ if (
54
this.binCmd(this.installCmd) &&
55
this.binCmd(this.cleanupCmd)) {
56
0 commit comments