Constructor
FoundryCommandStagenew
Declaration [src]
FoundryBuildStage*
foundry_command_stage_new (
FoundryContext* context,
FoundryBuildPipelinePhase phase,
FoundryCommand* build_command,
FoundryCommand* clean_command,
FoundryCommand* purge_command,
GFile* query_file,
gboolean phony
)
Parameters
context-
Type:
FoundryContextNo description available.
The data is owned by the caller of the function. phase-
Type:
FoundryBuildPipelinePhaseNo description available.
build_command-
Type:
FoundryCommandA command or
NULL.The argument can be NULL.The data is owned by the caller of the function. clean_command-
Type:
FoundryCommandA command or
NULL.The argument can be NULL.The data is owned by the caller of the function. purge_command-
Type:
FoundryCommandA command or
NULL.The argument can be NULL.The data is owned by the caller of the function. query_file-
Type:
GFileA file to query for completion.
The argument can be NULL.The data is owned by the caller of the function. phony-
Type:
gbooleanIf this command should be run every time without checking if it has already completed.
Return value
Type: FoundryBuildStage
| The caller of the function takes ownership of the data, and is responsible for freeing it. |