summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorElena Neuschild <eneuschild@gmail.com>2020-10-12 20:44:01 +0200
committerGitHub <noreply@github.com>2020-10-12 14:44:01 -0400
commitbf6ed724a6fd843f5a34a3465e9118b6ba1ba61b (patch)
tree9d864586c08278029f451c462c8012ff2e4dfd4c /contrib
parent95136387159e116508b98e1aaa2db40993c266ad (diff)
downloadgitea-bf6ed724a6fd843f5a34a3465e9118b6ba1ba61b.tar.gz
gitea-bf6ed724a6fd843f5a34a3465e9118b6ba1ba61b.zip
Fix args in tasks.json (#13116)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ide/vscode/tasks.json14
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/ide/vscode/tasks.json b/contrib/ide/vscode/tasks.json
index a9876f7101..e35ae303b2 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"]
}