mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-04-21 16:00:46 +03:00
TMP / pre-commit.py: make parallelism a str
This commit is contained in:
parent
8690f57833
commit
854d3d3308
@ -186,9 +186,11 @@ def unformat_project(indexed):
|
|||||||
def build_project():
|
def build_project():
|
||||||
"""Build project with cmake."""
|
"""Build project with cmake."""
|
||||||
print('Building project')
|
print('Building project')
|
||||||
build_log = invoke(*cmake, '--build', build_root, '--parallel', parallelism,
|
build_log = invoke(*cmake,
|
||||||
result_when_dry=CLANG_TIDY_CHECK_MARKER,
|
'--build', build_root,
|
||||||
quiet=False)
|
'--parallel', str(parallelism),
|
||||||
|
result_when_dry=CLANG_TIDY_CHECK_MARKER,
|
||||||
|
quiet=False)
|
||||||
|
|
||||||
if CLANG_TIDY_CHECK_MARKER not in build_log.splitlines():
|
if CLANG_TIDY_CHECK_MARKER not in build_log.splitlines():
|
||||||
fail('Project build was successful, but clang-tidy did not run. '
|
fail('Project build was successful, but clang-tidy did not run. '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user