task support

This commit is contained in:
Hunter 2024-09-29 15:24:13 -04:00
parent d9e4642472
commit dfcf57aae1
12 changed files with 134 additions and 12 deletions

View file

@ -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;
};
```