diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-06-26 17:15:24 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-06-26 17:15:24 +0100 |
commit | 8b29bd41934c090b84c713749179b60a1805cd1d (patch) | |
tree | 02be5b0cdee3db931a3139388d9e8b382816dad1 | |
parent | e28f0989ad60858c9202f7b00d13499d7d664d37 (diff) |
Make sure the build dir exists
-rwxr-xr-x | javascript/build.py | 2 |
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_[^( ]*)\\(") |