aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-06-26 17:15:24 +0100
committerMark Haines <mark.haines@matrix.org>2015-06-26 17:15:24 +0100
commit8b29bd41934c090b84c713749179b60a1805cd1d (patch)
tree02be5b0cdee3db931a3139388d9e8b382816dad1
parente28f0989ad60858c9202f7b00d13499d7d664d37 (diff)
Make sure the build dir exists
-rwxr-xr-xjavascript/build.py2
1 files changed, 2 insertions, 0 deletions
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_[^( ]*)\\(")