refactor: small rename
This commit is contained in:
@@ -53,7 +53,7 @@ def get_python_configurations(
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_build_step(
|
def get_build_steps(
|
||||||
options: BuildOptions, python_configurations: List[PythonConfiguration]
|
options: BuildOptions, python_configurations: List[PythonConfiguration]
|
||||||
) -> Iterator[BuildStep]:
|
) -> Iterator[BuildStep]:
|
||||||
platforms = [
|
platforms = [
|
||||||
@@ -313,7 +313,7 @@ def build(options: BuildOptions) -> None:
|
|||||||
container_project_path = PurePath("/project")
|
container_project_path = PurePath("/project")
|
||||||
container_package_dir = container_project_path / abs_package_dir.relative_to(cwd)
|
container_package_dir = container_project_path / abs_package_dir.relative_to(cwd)
|
||||||
|
|
||||||
for build_step in get_build_step(options, python_configurations):
|
for build_step in get_build_steps(options, python_configurations):
|
||||||
try:
|
try:
|
||||||
log.step(f"Starting Docker image {build_step.docker_image}...")
|
log.step(f"Starting Docker image {build_step.docker_image}...")
|
||||||
|
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ def _compute_single_options(
|
|||||||
output_dir: Path,
|
output_dir: Path,
|
||||||
) -> BuildOptions:
|
) -> BuildOptions:
|
||||||
"""
|
"""
|
||||||
Gather options from the command line, environment, and configuration file.
|
Compute BuildOptions for a single run configuration.
|
||||||
"""
|
"""
|
||||||
# Can't be configured per selector
|
# Can't be configured per selector
|
||||||
before_all = options("before-all", sep=" && ")
|
before_all = options("before-all", sep=" && ")
|
||||||
|
|||||||
Reference in New Issue
Block a user