Merge pull request #1687 from Jarod42/DocNewActionDeprecated

This commit is contained in:
starkos 2021-09-16 10:35:57 -04:00
commit 39f27e3fd4

View File

@ -14,11 +14,14 @@ newaction { description }
| shortname | A short summary for the help text, e.g. "Visual Studio 2013". |
| description | A description of the action's result, e.g. "Generate Visual Studio 2013 project files". |
| execute | A function to be executed when the action is fired. |
| os | If the toolset targets a specific OS, the [identifier](system.md) for that OS. |
| os | Deprecated, use targetos instead. |
| targetos | If the toolset targets a specific OS, the [identifier](system.md) for that OS. |
| valid_kinds | The list of [project kinds](kind.md) supported by the action. |
| valid_languages | The list of [languages](language.md) supported by the action. |
| valid_tools | The list of [tools](toolset.md) supported by the action. |
| toolset | Default [tools](toolset.md). |
| onStart | A callback marking the start of action processing. |
| onSolution | Deprecated, use onWorkspace instead. |
| onWorkspace | A callback for each workspace specified in the user script. |
| onProject | A callback for each project specified in the user script. |
| onRule | A callback for each rule specified in the user script. |