Don't have to take the extra 2 seconds to make 'built' directory.

This commit is contained in:
Loudrob 2015-06-05 18:13:42 -04:00
parent 2bbe0aaa7c
commit 2a3c04bb35

View file

@ -176,6 +176,9 @@ class StridePackager(NiraiPackager):
# 1. Make the NRI # 1. Make the NRI
if args.make_nri: if args.make_nri:
if not os.path.exists('built'):
os.mkdir('built')
pkg = StridePackager('built/stride.dist') pkg = StridePackager('built/stride.dist')
pkg.add_source_dir('otp') pkg.add_source_dir('otp')
@ -188,6 +191,9 @@ if args.make_nri:
# 2. Compile CXX stuff # 2. Compile CXX stuff
if args.compile_cxx: if args.compile_cxx:
if not os.path.exists('built'):
os.mkdir('built')
sys.path.append('../../../N2') sys.path.append('../../../N2')
from niraitools import NiraiCompiler from niraitools import NiraiCompiler