2021-07-04 15:31:33 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
2021-07-27 01:11:53 +00:00
|
|
|
// https://code.visualstudio.com/docs/editor/tasks
|
2021-07-04 15:31:33 +00:00
|
|
|
//https://gist.github.com/deadalusai/9e13e36d61ec7fb72148
|
|
|
|
|
|
|
|
// ${workspaceRoot}: the root folder of the team
|
|
|
|
// ${file}: the current opened file
|
|
|
|
// ${fileBasename}: the current opened file's basename
|
|
|
|
// ${fileDirname}: the current opened file's dirname
|
|
|
|
// ${fileExtname}: the current opened file's extension
|
|
|
|
// ${cwd}: the current working directory of the spawned process
|
2021-07-27 01:11:53 +00:00
|
|
|
"tasks": [
|
|
|
|
{
|
2021-07-04 15:31:33 +00:00
|
|
|
"type": "shell",
|
2021-07-25 03:08:59 +00:00
|
|
|
"command": "sh ./scripts/build_sdk.sh",
|
2021-07-04 15:31:33 +00:00
|
|
|
"group": "build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/../"
|
|
|
|
},
|
2021-07-25 08:07:53 +00:00
|
|
|
// "problemMatcher": [
|
|
|
|
// "$rustc"
|
|
|
|
// ],
|
2021-07-27 01:11:53 +00:00
|
|
|
"label": "build_flowy_sdk"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"command": "sh ./scripts/code_gen.sh",
|
|
|
|
"group": "build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/../"
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$rustc"
|
|
|
|
],
|
|
|
|
"label": "generate events"
|
2021-07-04 15:31:33 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|