task support
This commit is contained in:
parent
d9e4642472
commit
dfcf57aae1
12 changed files with 134 additions and 12 deletions
|
@ -162,4 +162,18 @@ enum LanguageType {
|
|||
LanguageType_CPP,
|
||||
LanguageType_C
|
||||
};
|
||||
```
|
||||
|
||||
## TaskConfig
|
||||
```c++
|
||||
struct TaskConfig {
|
||||
/// Name of the task, can have spaces unlike task_id
|
||||
string task_name;
|
||||
|
||||
/// ID used when invoking the task, ex: ```ninja task:helloworld```
|
||||
string task_id;
|
||||
|
||||
/// Shell script to be executed when this task is called
|
||||
string shell_script;
|
||||
};
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue