This commit is contained in:
Eric Froemling 2021-06-13 12:45:49 -05:00
parent e49097b886
commit 9eb7ced21e
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98
2 changed files with 5 additions and 1 deletions

View File

@ -750,7 +750,7 @@ def update_project() -> None:
Updating should be explicitly run by the user through commands such as Updating should be explicitly run by the user through commands such as
'make update', 'make check' or 'make preflight'. Other make targets should 'make update', 'make check' or 'make preflight'. Other make targets should
avoid running this commnand as it can modify the project structure avoid running this command as it can modify the project structure
arbitrarily which is not a good idea in the middle of a build. arbitrarily which is not a good idea in the middle of a build.
If this command is invoked with a --check argument, it should not modify If this command is invoked with a --check argument, it should not modify

View File

@ -670,6 +670,10 @@ class Updater:
# build so its success may depend on the cmake build files having # build so its success may depend on the cmake build files having
# already been updated. # already been updated.
# TEMP - dont do this in spinoffs
if 'ballistica' + 'core' != 'ballisticacore':
return
# FIXME: should support running this in public too. # FIXME: should support running this in public too.
if not self._public: if not self._public:
try: try: