Tasks¶
The nmk-workspace plugin defines the tasks described below.
Setup tasks¶
All tasks in this chapter are dependencies of the base setup task.
workspace.setup – subprojects setup¶
This task iterates on specified subprojects, and call their own setup task.
Property |
Value/description |
|---|---|
builder |
|
if |
|
unless |
${workspaceDisableLocalTasks} |
root |
|
to_build_first |
|
to_build |
|
to_build_after |
|
excluded |
|
args |
|
ignore_failures |
Build tasks¶
All tasks in this chapter are dependencies of the base build task.
workspace.build – subprojects build¶
This task iterates on specified subprojects, and call their own build task.
Property |
Value/description |
|---|---|
builder |
|
if |
|
unless |
${workspaceDisableLocalTasks} |
root |
|
to_build_first |
|
to_build |
|
to_build_after |
|
excluded |
|
args |
|
ignore_failures |
Tests tasks¶
All tasks in this chapter are dependencies of the base tests task.
workspace.tests – subprojects tests¶
This task iterates on specified subprojects, and call their own tests task.
Property |
Value/description |
|---|---|
builder |
|
if |
|
unless |
${workspaceDisableLocalTasks} |
root |
|
to_build_first |
|
to_build |
|
to_build_after |
|
excluded |
|
args |
|
ignore_failures |
Package tasks¶
All tasks in this chapter are dependencies of the base package task.
workspace.package – subprojects package¶
This task iterates on specified subprojects, and call their own package task.
Property |
Value/description |
|---|---|
builder |
|
if |
|
unless |
${workspaceDisableLocalTasks} |
root |
|
to_build_first |
|
to_build |
|
to_build_after |
|
excluded |
|
args |
package ${workspaceBuildExtraArgs} |
ignore_failures |
Clean tasks¶
All tasks in this chapter are dependencies of the base clean task.
workspace.clean – subprojects clean¶
This task iterates on specified subprojects, and call their own clean task.
Property |
Value/description |
|---|---|
builder |
|
if |
|
unless |
${workspaceDisableLocalTasks} |
root |
|
to_build_first |
|
to_build |
|
to_build_after |
|
excluded |
|
args |
|
ignore_failures |
Other tasks¶
workspace.sync – submodules synchronization¶
This task triggers a recursive submodules update process, and checks out the corresponding branch (i.e. the remote branch identified in .gitmodules root file) for each submodule.
Property |
Value/description |
|---|---|
builder |
|
root |
|
to_sync |
Added in version 1.2.0