Virtual Method
IdeRuntimeprepare_to_build
Declaration
void
prepare_to_build (
IdeRuntime* self,
IdePipeline* pipeline,
IdeRunContext* run_context
)
Description
Prepares a run context for running a build command.
The virtual function implementation should add to the run context anything necessary to be able to run within the runtime.
That might include pushing a new layer so that the command will run within a subcommand such as “flatpak”, “jhbuild”, or “podman”.
This is meant to be able to run a build command, so it may not require access to some features like network or graphical displays.
Parameters
pipeline
-
Type:
IdePipeline
An
IdePipeline
orNULL
for the current.The argument can be NULL
.The data is owned by the caller of the function. run_context
-
Type:
IdeRunContext
An
IdeRunContext
.The data is owned by the caller of the function.