You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tasks.json 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "Build",
  6. "type": "shell",
  7. "command": "go",
  8. "group": "build",
  9. "presentation": {
  10. "echo": true,
  11. "reveal": "always",
  12. "focus": false,
  13. "panel": "shared"
  14. },
  15. "args": ["build"],
  16. "linux": {
  17. "args": [ "-o", "gitea", "${workspaceRoot}/main.go" ]
  18. },
  19. "osx": {
  20. "args": [ "-o", "gitea", "${workspaceRoot}/main.go" ]
  21. },
  22. "windows": {
  23. "args": [ "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""]
  24. },
  25. "problemMatcher": ["$go"]
  26. },
  27. {
  28. "label": "Build (with SQLite3)",
  29. "type": "shell",
  30. "command": "go",
  31. "group": "build",
  32. "presentation": {
  33. "echo": true,
  34. "reveal": "always",
  35. "focus": false,
  36. "panel": "shared"
  37. },
  38. "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\""],
  39. "linux": {
  40. "args": ["-o", "gitea", "${workspaceRoot}/main.go"]
  41. },
  42. "osx": {
  43. "args": ["-o", "gitea", "${workspaceRoot}/main.go"]
  44. },
  45. "windows": {
  46. "args": ["-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""]
  47. },
  48. "problemMatcher": ["$go"]
  49. }
  50. ]
  51. }