tasks.json 985 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "version": "2.0.0",
  3. // https://code.visualstudio.com/docs/editor/tasks
  4. //https://gist.github.com/deadalusai/9e13e36d61ec7fb72148
  5. // ${workspaceRoot}: the root folder of the team
  6. // ${file}: the current opened file
  7. // ${fileBasename}: the current opened file's basename
  8. // ${fileDirname}: the current opened file's dirname
  9. // ${fileExtname}: the current opened file's extension
  10. // ${cwd}: the current working directory of the spawned process
  11. "tasks": [
  12. {
  13. "type": "shell",
  14. "command": "sh ./scripts/build_sdk.sh",
  15. "group": "build",
  16. "options": {
  17. "cwd": "${workspaceFolder}/../"
  18. },
  19. // "problemMatcher": [
  20. // "$rustc"
  21. // ],
  22. "label": "build_flowy_sdk"
  23. },
  24. {
  25. "type": "shell",
  26. "command": "sh ./scripts/code_gen.sh",
  27. "group": "build",
  28. "options": {
  29. "cwd": "${workspaceFolder}/../"
  30. },
  31. "problemMatcher": [
  32. "$rustc"
  33. ],
  34. "label": "generate events"
  35. }
  36. ]
  37. }