Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "SFDX: Deploy Current File",
  6. "type": "shell",
  7. "command": "sfdx",
  8. "args": [
  9. "force:source:deploy",
  10. "--sourcepath",
  11. "${relativeFile}",
  12. "--wait",
  13. "10"
  14. ],
  15. "group": "build",
  16. "presentation": {
  17. "reveal": "always",
  18. "panel": "shared"
  19. },
  20. "problemMatcher": []
  21. },
  22. {
  23. "label": "SFDX: Retrieve Current File",
  24. "type": "shell",
  25. "command": "sfdx",
  26. "args": [
  27. "force:source:retrieve",
  28. "--sourcepath",
  29. "${relativeFile}",
  30. "--wait",
  31. "10"
  32. ],
  33. "group": "build",
  34. "presentation": {
  35. "reveal": "always",
  36. "panel": "shared"
  37. },
  38. "problemMatcher": []
  39. },
  40. {
  41. "label": "SFDX: Delete Current File",
  42. "type": "shell",
  43. "command": "sfdx",
  44. "args": [
  45. "force:source:delete",
  46. "--sourcepath",
  47. "${relativeFile}",
  48. "--wait",
  49. "10"
  50. ],
  51. "group": "build",
  52. "presentation": {
  53. "reveal": "always",
  54. "panel": "shared"
  55. },
  56. "problemMatcher": []
  57. },
  58. {
  59. "label": "SFDX: Deploy Folder",
  60. "type": "shell",
  61. "command": "sfdx",
  62. "args": [
  63. "force:source:deploy",
  64. "--sourcepath",
  65. "${input:sourcePath}",
  66. "--wait",
  67. "10"
  68. ],
  69. "group": "build",
  70. "presentation": {
  71. "reveal": "always",
  72. "panel": "shared"
  73. },
  74. "problemMatcher": []
  75. },
  76. {
  77. "label": "SFDX: Retrieve Folder",
  78. "type": "shell",
  79. "command": "sfdx",
  80. "args": [
  81. "force:source:deploy",
  82. "--sourcepath",
  83. "${input:sourcePath}",
  84. "--wait",
  85. "10"
  86. ],
  87. "group": "build",
  88. "presentation": {
  89. "reveal": "always",
  90. "panel": "shared"
  91. },
  92. "problemMatcher": []
  93. },
  94. {
  95. "label": "SFDX: Delete Folder",
  96. "type": "shell",
  97. "command": "sfdx",
  98. "args": [
  99. "force:source:delete",
  100. "--sourcepath",
  101. "${input:sourcePath}",
  102. "--wait",
  103. "10"
  104. ],
  105. "group": "build",
  106. "presentation": {
  107. "reveal": "always",
  108. "panel": "shared"
  109. },
  110. "problemMatcher": []
  111. }
  112. ],
  113. "inputs": [
  114. {
  115. "id": "sourcePath",
  116. "type": "promptString",
  117. "description": "Folder path to source metadata",
  118. "default": "force-app"
  119. }
  120. ]
  121. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement