tasks.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "make example",
  6. "type": "shell",
  7. "command": "make example",
  8. "problemMatcher": [
  9. "$gcc"
  10. ],
  11. "group": {
  12. "kind": "build",
  13. "isDefault": true
  14. }
  15. },
  16. {
  17. "label": "make clean",
  18. "type": "shell",
  19. "command": "make clean",
  20. "problemMatcher": [
  21. "$gcc"
  22. ],
  23. "group": "build"
  24. },
  25. {
  26. "label": "make unittest",
  27. "type": "shell",
  28. "command": "make unittest",
  29. "problemMatcher": [
  30. "$gcc"
  31. ]
  32. },
  33. {
  34. "label": "make integrationtest",
  35. "type": "shell",
  36. "command": "make integrationtest",
  37. "problemMatcher": [
  38. "$gcc"
  39. ]
  40. },
  41. {
  42. "label": "make integrationtest_auth",
  43. "type": "shell",
  44. "command": "make integrationtest_auth",
  45. "problemMatcher": [
  46. "$gcc"
  47. ]
  48. },
  49. {
  50. "label": "make integrationtest_transport",
  51. "type": "shell",
  52. "command": "make integrationtest_transport",
  53. "problemMatcher": [
  54. "$gcc"
  55. ]
  56. },
  57. {
  58. "label": "make test",
  59. "type": "shell",
  60. "command": "make test",
  61. "problemMatcher": [
  62. "$gcc"
  63. ],
  64. "group": {
  65. "kind": "test",
  66. "isDefault": true
  67. }
  68. },
  69. {
  70. "type": "shell",
  71. "label": "gcc build active file",
  72. "command": "/usr/bin/gcc",
  73. "args": [
  74. "-g",
  75. "${file}",
  76. "-o",
  77. "${fileDirname}/${fileBasenameNoExtension}"
  78. ],
  79. "options": {
  80. "cwd": "/usr/bin"
  81. }
  82. }
  83. ]
  84. }