tasks.json 4.4 KB

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