build: Check for tests/ directory
I don't include unit tests in the tarball for releases, so I need to check for this directory when telling Scons what to build. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
cb6d8b3e29
commit
452e5228af
|
@ -32,7 +32,8 @@ core = SConscript("core/Sconscript")
|
|||
lib = SConscript("lib/Sconscript")
|
||||
gui = SConscript("gui/Sconscript")
|
||||
|
||||
tests = SConscript("tests/Sconscript")
|
||||
if os.path.isdir("tests"):
|
||||
tests = SConscript("tests/Sconscript")
|
||||
|
||||
|
||||
ocarina = env.Program("bin/ocarina", core + lib + gui)
|
||||
|
|
Loading…
Reference in New Issue