tasks.json 4.0 KB

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