tasks.json 908 B

123456789101112131415161718192021222324252627282930313233343536
  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. "windows": {
  16. "options": {
  17. "shell": {
  18. "executable": "cmd.exe",
  19. "args": [
  20. "/d", "/c", ".\\scripts\\build_sdk.cmd"
  21. ]
  22. }
  23. }
  24. },
  25. "group": "build",
  26. "options": {
  27. "cwd": "${workspaceFolder}/../"
  28. },
  29. // "problemMatcher": [
  30. // "$rustc"
  31. // ],
  32. "label": "build_flowy_sdk"
  33. },
  34. ]
  35. }