From 8b29bd41934c090b84c713749179b60a1805cd1d Mon Sep 17 00:00:00 2001
From: Mark Haines <mark.haines@matrix.org>
Date: Fri, 26 Jun 2015 17:15:24 +0100
Subject: [PATCH] Make sure the build dir exists

---
 javascript/build.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/javascript/build.py b/javascript/build.py
index 2b754e9..08436fd 100755
--- a/javascript/build.py
+++ b/javascript/build.py
@@ -24,6 +24,8 @@ source_files = glob.glob("src/*.cpp")
 pre_js, = glob.glob("javascript/*pre.js")
 post_js, = glob.glob("javascript/*post.js")
 
+if not os.path.exists("build"):
+    os.mkdir("build")
 
 functions = set()
 RE_FUNCTION=re.compile("(axolotl_[^( ]*)\\(")
-- 
GitLab