tasks.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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 test",
  51. "type": "shell",
  52. "command": "make test",
  53. "problemMatcher": [
  54. "$gcc"
  55. ],
  56. "group": {
  57. "kind": "test",
  58. "isDefault": true
  59. }
  60. },
  61. {
  62. "type": "shell",
  63. "label": "gcc build active file",
  64. "command": "/usr/bin/gcc",
  65. "args": [
  66. "-g",
  67. "${file}",
  68. "-o",
  69. "${fileDirname}/${fileBasenameNoExtension}"
  70. ],
  71. "options": {
  72. "cwd": "/usr/bin"
  73. }
  74. }
  75. ]
  76. }