mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-27 17:33:13 +08:00
pubsync test
This commit is contained in:
parent
a0d3188b38
commit
27b1fc4548
4
Makefile
4
Makefile
@ -4,8 +4,8 @@
|
||||
# The targets here do not expect -jX to be passed to them and generally
|
||||
# add that argument to subprocesses as needed.
|
||||
|
||||
# Default is to build/run the mac version.
|
||||
all: cmake
|
||||
# Print help by default
|
||||
all: help
|
||||
|
||||
# We often want one job per core, so try to determine our logical core count.
|
||||
ifeq ($(wildcard /proc),/proc) # Linux
|
||||
|
||||
@ -482,7 +482,9 @@ def _filter_module_name(mpath: str) -> str:
|
||||
def runmypy(filenames: List[str], full: bool = False,
|
||||
check: bool = True) -> None:
|
||||
"""Run MyPy on provided filenames."""
|
||||
args = ['mypy', '--pretty', '--config-file', '.mypy.ini'] + filenames
|
||||
args = [
|
||||
'python3.7', '-m', 'mypy', '--pretty', '--config-file', '.mypy.ini'
|
||||
] + filenames
|
||||
if full:
|
||||
args.insert(1, '--no-incremental')
|
||||
subprocess.run(args, check=check)
|
||||
|
||||
@ -370,6 +370,10 @@ def makefile_target_list() -> None:
|
||||
return ' - ' + doc
|
||||
return doc
|
||||
|
||||
print('--------------------------\n'
|
||||
'Available Makefile Targets\n'
|
||||
'--------------------------\n')
|
||||
|
||||
entries: List[_Entry] = []
|
||||
for i, line in enumerate(lines):
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/env python3.7
|
||||
"""Wee little snippets of functionality specific to this project.
|
||||
|
||||
All top level functions here can be run by passing them as the first
|
||||
|
||||
@ -224,7 +224,7 @@ def main() -> None:
|
||||
|
||||
# Update our python enums module.
|
||||
# Should do this before updating asset deps since this is an asset.
|
||||
if os.path.exists('tools/update_puthon_enums_module'):
|
||||
if os.path.exists('tools/update_python_enums_module'):
|
||||
if os.system('tools/update_python_enums_module' + checkarg) != 0:
|
||||
print(CLRRED + 'Error checking/updating python enums module' +
|
||||
CLREND)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user