Jakefile: Create the "lib" directory if it does not exist
Closes GH-14. Closes GH-15.
This commit is contained in:
parent
4c59bbfef9
commit
88f901f36e
5
Jakefile
5
Jakefile
|
@ -66,6 +66,11 @@ task("build", [], function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.writeFileSync(PEGJS_OUT_FILE, preprocess(PEGJS_SRC_FILE), "utf8");
|
fs.writeFileSync(PEGJS_OUT_FILE, preprocess(PEGJS_SRC_FILE), "utf8");
|
||||||
|
try {
|
||||||
|
fs.statSync(LIB_DIR);
|
||||||
|
} catch (e) {
|
||||||
|
fs.mkdirSync(LIB_DIR, 0755);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
task("default", ["build"], function() {});
|
task("default", ["build"], function() {});
|
||||||
|
|
Loading…
Reference in a new issue