tasks.json 3.2 KB

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