mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 23:05:39 +03:00
Fix args in tasks.json (#13116)
This commit is contained in:
parent
9513638715
commit
bf6ed724a6
1 changed files with 6 additions and 8 deletions
|
@ -12,15 +12,14 @@
|
||||||
"focus": false,
|
"focus": false,
|
||||||
"panel": "shared"
|
"panel": "shared"
|
||||||
},
|
},
|
||||||
"args": ["build"],
|
|
||||||
"linux": {
|
"linux": {
|
||||||
"args": [ "-o", "gitea", "${workspaceRoot}/main.go" ]
|
"args": ["build", "-o", "gitea", "${workspaceRoot}/main.go" ]
|
||||||
},
|
},
|
||||||
"osx": {
|
"osx": {
|
||||||
"args": [ "-o", "gitea", "${workspaceRoot}/main.go" ]
|
"args": ["build", "-o", "gitea", "${workspaceRoot}/main.go" ]
|
||||||
},
|
},
|
||||||
"windows": {
|
"windows": {
|
||||||
"args": [ "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""]
|
"args": ["build", "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""]
|
||||||
},
|
},
|
||||||
"problemMatcher": ["$go"]
|
"problemMatcher": ["$go"]
|
||||||
},
|
},
|
||||||
|
@ -35,15 +34,14 @@
|
||||||
"focus": false,
|
"focus": false,
|
||||||
"panel": "shared"
|
"panel": "shared"
|
||||||
},
|
},
|
||||||
"args": ["build", "-tags=\"sqlite sqlite_unlock_notify\""],
|
|
||||||
"linux": {
|
"linux": {
|
||||||
"args": ["-o", "gitea", "${workspaceRoot}/main.go"]
|
"args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea", "${workspaceRoot}/main.go"]
|
||||||
},
|
},
|
||||||
"osx": {
|
"osx": {
|
||||||
"args": ["-o", "gitea", "${workspaceRoot}/main.go"]
|
"args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea", "${workspaceRoot}/main.go"]
|
||||||
},
|
},
|
||||||
"windows": {
|
"windows": {
|
||||||
"args": ["-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""]
|
"args": ["build", "-tags=\"sqlite sqlite_unlock_notify\"", "-o", "gitea.exe", "\"${workspaceRoot}\\main.go\""]
|
||||||
},
|
},
|
||||||
"problemMatcher": ["$go"]
|
"problemMatcher": ["$go"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue