code.gitea.io/gitea@v1.21.7/contrib/ide/vscode/tasks.json (about) 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 "linux": { 16 "args": ["build", "-o", "gitea", "${workspaceRoot}/main.go" ] 17 }, 18 "osx": { 19 "args": ["build", "-o", "gitea", "${workspaceRoot}/main.go" ] 20 }, 21 "windows": { 22 "args": ["build", "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""] 23 }, 24 "problemMatcher": ["$go"] 25 }, 26 { 27 "label": "Build (with SQLite3)", 28 "type": "shell", 29 "command": "go", 30 "group": "build", 31 "presentation": { 32 "echo": true, 33 "reveal": "always", 34 "focus": false, 35 "panel": "shared" 36 }, 37 "linux": { 38 "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea", "${workspaceRoot}/main.go"] 39 }, 40 "osx": { 41 "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea", "${workspaceRoot}/main.go"] 42 }, 43 "windows": { 44 "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""] 45 }, 46 "problemMatcher": ["$go"] 47 } 48 ] 49 }