[buildcore] Remove python -m prefix from mypy command
This commit is contained in:
parent
8769305d12
commit
118fef617f
7
deps/buildcore/base.mk
vendored
7
deps/buildcore/base.mk
vendored
@ -44,6 +44,9 @@ ifdef BC_VAR_USE_DOCKER_DEVENV
|
|||||||
exit 1
|
exit 1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifndef BC_VAR_DEVENV_ROOT
|
||||||
|
BC_VAR_DEVENV_ROOT="."
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
BC_CMD_PY3=${BC_CMD_HOST_PY3}
|
BC_CMD_PY3=${BC_CMD_HOST_PY3}
|
||||||
endif
|
endif
|
||||||
@ -90,7 +93,7 @@ purge:
|
|||||||
${BC_CMD_RM_RF} compile_commands.json
|
${BC_CMD_RM_RF} compile_commands.json
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: build
|
test: build
|
||||||
${BC_CMD_ENVRUN} ${BC_CMD_PY3} -m mypy ${BC_VAR_SCRIPTS}
|
${BC_CMD_ENVRUN} mypy ${BC_VAR_SCRIPTS}
|
||||||
${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} test
|
${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} test
|
||||||
.PHONY: test-verbose
|
.PHONY: test-verbose
|
||||||
test-verbose: build
|
test-verbose: build
|
||||||
@ -102,7 +105,7 @@ test-rerun-verbose: build
|
|||||||
ifdef BC_VAR_USE_DOCKER_DEVENV
|
ifdef BC_VAR_USE_DOCKER_DEVENV
|
||||||
.PHONY: devenv-image
|
.PHONY: devenv-image
|
||||||
devenv-image:
|
devenv-image:
|
||||||
docker build . -t ${BC_VAR_DEVENV_IMAGE}
|
docker build ${BC_VAR_DEVENV_ROOT} -t ${BC_VAR_DEVENV_IMAGE}
|
||||||
.PHONY: devenv-create
|
.PHONY: devenv-create
|
||||||
devenv-create:
|
devenv-create:
|
||||||
docker run -d \
|
docker run -d \
|
||||||
|
Loading…
Reference in New Issue
Block a user