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} @git clean -dnx ${ROOT_CLEAN_IGNORES}
# Tell make which of these targets don't represent files. # 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 \ assets-mac assets-ios assets-android assets-clean \
resources resources-clean code code-clean\ resources resources-clean code code-clean\
clean cleanlist 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 # Then also make sure there are no untracked changes to core files
# (since we may be blowing core away here). # (since we may be blowing core away here).
status = os.system( spinoff_bin = os.path.join(str(PROJROOT), 'tools', 'spinoff')
os.path.join(str(PROJROOT), 'tools', 'spinoff') + ' cleancheck') if os.path.exists(spinoff_bin):
if status != 0: status = os.system(spinoff_bin + ' cleancheck')
sys.exit(255) if status != 0:
sys.exit(255)
def get_master_asset_src_dir() -> None: def get_master_asset_src_dir() -> None: