From 2a3c04bb35b49ee8aab12f96084c0c11c028eb3c Mon Sep 17 00:00:00 2001 From: Loudrob Date: Fri, 5 Jun 2015 18:13:42 -0400 Subject: [PATCH] Don't have to take the extra 2 seconds to make 'built' directory. --- build/make.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/make.py b/build/make.py index f233a375..0934a4ad 100644 --- a/build/make.py +++ b/build/make.py @@ -176,6 +176,9 @@ class StridePackager(NiraiPackager): # 1. Make the NRI if args.make_nri: + if not os.path.exists('built'): + os.mkdir('built') + pkg = StridePackager('built/stride.dist') pkg.add_source_dir('otp') @@ -188,6 +191,9 @@ if args.make_nri: # 2. Compile CXX stuff if args.compile_cxx: + if not os.path.exists('built'): + os.mkdir('built') + sys.path.append('../../../N2') from niraitools import NiraiCompiler