fix(tools): update Makefile targets to allow make binary path with spaces

- avoids issues if the make binary path contains spaces
This commit is contained in:
Arthur Meyre
2021-08-26 14:37:35 +02:00
parent 3541e4ff4e
commit 61daa49e9d

View File

@@ -30,7 +30,7 @@ check_strip_nb:
.PHONY: strip_nb
pylint:
+poetry run env bash script/make_utils/serialize_targets.sh $(MAKE) \
+poetry run env bash script/make_utils/serialize_targets.sh "$(MAKE)" \
pylint_src pylint_tests pylint_benchmarks
.PHONY: pylint
@@ -94,7 +94,7 @@ mypy_benchmark:
# the parent make execution. We serialize calls to these targets as they may overwrite each others
# cache which can cause issues.
mypy_ci:
+poetry run env bash script/make_utils/serialize_targets.sh $(MAKE) \
+poetry run env bash script/make_utils/serialize_targets.sh "$(MAKE)" \
mypy mypy_test mypy_benchmark
.PHONY: mypy_ci