diff --git a/Jakefile b/Jakefile index 49ab00e..25f0ef1 100644 --- a/Jakefile +++ b/Jakefile @@ -66,6 +66,11 @@ task("build", [], function() { } 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() {});