4
1

tasks.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "MakeHTML",
  8. "type": "shell",
  9. "command": "./sugarcube_compile.bat",
  10. "presentation": {
  11. "echo": true,
  12. "reveal": "always",
  13. "focus": false,
  14. "panel": "dedicated",
  15. "showReuseMessage": false,
  16. "clear": true
  17. },
  18. "group": {
  19. "kind": "build",
  20. "isDefault": true
  21. },
  22. "problemMatcher": [],
  23. "dependsOn": [
  24. "esbuild"
  25. ]
  26. },
  27. {
  28. "label": "MakeReadme",
  29. "type": "shell",
  30. "command": "./readme/readme_compile.bat",
  31. "presentation": {
  32. "echo": true,
  33. "reveal": "always",
  34. "focus": false,
  35. "panel": "shared",
  36. "showReuseMessage": false,
  37. "clear": true
  38. },
  39. "group": {
  40. "kind": "build"
  41. },
  42. "problemMatcher": []
  43. },
  44. {
  45. "label": "BuildModFiles",
  46. "type": "shell",
  47. "command": "./mods/util/BuildModFiles.bat",
  48. "presentation": {
  49. "echo": true,
  50. "reveal": "always",
  51. "focus": false,
  52. "panel": "shared",
  53. "showReuseMessage": false,
  54. "clear": true
  55. },
  56. "group": {
  57. "kind": "build"
  58. },
  59. "problemMatcher": []
  60. },
  61. {
  62. "type": "typescript",
  63. "tsconfig": "./sugarcube/tsconfig.json",
  64. "problemMatcher": [
  65. "$tsc"
  66. ],
  67. "presentation": {
  68. "panel": "dedicated",
  69. },
  70. "group": {
  71. "kind": "build"
  72. },
  73. "label": "TSC"
  74. },
  75. {
  76. "label": "esbuild",
  77. "type": "shell",
  78. "command": "esbuild sugarcube/temp/typescript.js --minify --outfile=sugarcube/src/typescript-min.js",
  79. "presentation": {
  80. "echo": true,
  81. "reveal": "always",
  82. "focus": false,
  83. "panel": "dedicated",
  84. "showReuseMessage": false,
  85. "clear": true
  86. },
  87. "group": {
  88. "kind": "build"
  89. },
  90. "problemMatcher": [],
  91. "dependsOn": [
  92. "TSC"
  93. ]
  94. },
  95. ]
  96. }