diff --git a/contrib/ide/vscode/tasks.json b/contrib/ide/vscode/tasks.json index a9876f71013..e35ae303b27 100644 --- a/contrib/ide/vscode/tasks.json +++ b/contrib/ide/vscode/tasks.json @@ -12,15 +12,14 @@ "focus": false, "panel": "shared" }, - "args": ["build"], "linux": { - "args": [ "-o", "gitea", "${workspaceRoot}/main.go" ] + "args": ["build", "-o", "gitea", "${workspaceRoot}/main.go" ] }, "osx": { - "args": [ "-o", "gitea", "${workspaceRoot}/main.go" ] + "args": ["build", "-o", "gitea", "${workspaceRoot}/main.go" ] }, "windows": { - "args": [ "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""] + "args": ["build", "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""] }, "problemMatcher": ["$go"] }, @@ -35,15 +34,14 @@ "focus": false, "panel": "shared" }, - "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\""], "linux": { - "args": ["-o", "gitea", "${workspaceRoot}/main.go"] + "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea", "${workspaceRoot}/main.go"] }, "osx": { - "args": ["-o", "gitea", "${workspaceRoot}/main.go"] + "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea", "${workspaceRoot}/main.go"] }, "windows": { - "args": ["-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""] + "args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""] }, "problemMatcher": ["$go"] }