minor build fixes

This commit is contained in:
Eric Froemling 2019-10-14 18:24:54 -07:00
parent 0cdb2bf034
commit 960ab1568d
2 changed files with 6 additions and 5 deletions

View File

@ -115,7 +115,7 @@ cleanlist:
@git clean -dnx ${ROOT_CLEAN_IGNORES}
# Tell make which of these targets don't represent files.
.PHONY: list prereqs prereqs-clean assets assets-cmake assests-win \
.PHONY: list prereqs prereqs-clean assets assets-cmake assets-win \
assets-mac assets-ios assets-android assets-clean \
resources resources-clean code code-clean\
clean cleanlist

View File

@ -359,10 +359,11 @@ def check_clean_safety() -> None:
# Then also make sure there are no untracked changes to core files
# (since we may be blowing core away here).
status = os.system(
os.path.join(str(PROJROOT), 'tools', 'spinoff') + ' cleancheck')
if status != 0:
sys.exit(255)
spinoff_bin = os.path.join(str(PROJROOT), 'tools', 'spinoff')
if os.path.exists(spinoff_bin):
status = os.system(spinoff_bin + ' cleancheck')
if status != 0:
sys.exit(255)
def get_master_asset_src_dir() -> None: