tasks.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "build-windows",
  6. "command": "dotnet",
  7. "type": "shell",
  8. "args": [
  9. "build",
  10. "Platforms/Windows/GameComponents.Windows.csproj"
  11. ],
  12. "group": "build",
  13. "presentation": {
  14. "echo": true,
  15. "reveal": "always",
  16. "focus": false,
  17. "panel": "shared"
  18. },
  19. "problemMatcher": "$msCompile"
  20. },
  21. {
  22. "label": "build-desktopgl",
  23. "command": "dotnet",
  24. "type": "shell",
  25. "args": [
  26. "build",
  27. "Platforms/Desktop/GameComponents.DesktopGL.csproj"
  28. ],
  29. "group": "build",
  30. "presentation": {
  31. "echo": true,
  32. "reveal": "always",
  33. "focus": false,
  34. "panel": "shared"
  35. },
  36. "problemMatcher": "$msCompile"
  37. },
  38. {
  39. "label": "build-android",
  40. "command": "dotnet",
  41. "type": "shell",
  42. "args": [
  43. "build",
  44. "Platforms/Android/GameComponents.Android.csproj"
  45. ],
  46. "group": "build",
  47. "presentation": {
  48. "echo": true,
  49. "reveal": "always",
  50. "focus": false,
  51. "panel": "shared"
  52. },
  53. "problemMatcher": "$msCompile"
  54. },
  55. {
  56. "label": "run-windows",
  57. "command": "dotnet",
  58. "type": "shell",
  59. "args": [
  60. "run",
  61. "--project",
  62. "Platforms/Windows/GameComponents.Windows.csproj"
  63. ],
  64. "group": "test",
  65. "dependsOn": "build-windows",
  66. "presentation": {
  67. "echo": true,
  68. "reveal": "always",
  69. "focus": false,
  70. "panel": "shared"
  71. },
  72. "problemMatcher": "$msCompile"
  73. },
  74. {
  75. "label": "run-desktopgl",
  76. "command": "dotnet",
  77. "type": "shell",
  78. "args": [
  79. "run",
  80. "--project",
  81. "Platforms/Desktop/GameComponents.DesktopGL.csproj"
  82. ],
  83. "group": "test",
  84. "dependsOn": "build-desktopgl",
  85. "presentation": {
  86. "echo": true,
  87. "reveal": "always",
  88. "focus": false,
  89. "panel": "shared"
  90. },
  91. "problemMatcher": "$msCompile"
  92. },
  93. {
  94. "label": "clean",
  95. "command": "dotnet",
  96. "type": "shell",
  97. "args": [
  98. "clean"
  99. ],
  100. "group": "build",
  101. "presentation": {
  102. "echo": true,
  103. "reveal": "always",
  104. "focus": false,
  105. "panel": "shared"
  106. },
  107. "problemMatcher": "$msCompile"
  108. },
  109. {
  110. "label": "restore",
  111. "command": "dotnet",
  112. "type": "shell",
  113. "args": [
  114. "restore"
  115. ],
  116. "group": "build",
  117. "presentation": {
  118. "echo": true,
  119. "reveal": "always",
  120. "focus": false,
  121. "panel": "shared"
  122. },
  123. "problemMatcher": "$msCompile"
  124. }
  125. ]
  126. }