58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build Windows",
|
|
"type": "shell",
|
|
"command": "go",
|
|
"args": [
|
|
"build",
|
|
"-o",
|
|
"release/windows/regin_mountain_game.exe",
|
|
"."
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"GOOS": "windows",
|
|
"GOARCH": "amd64"
|
|
}
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
"$go"
|
|
]
|
|
},
|
|
{
|
|
"label": "Build Linux",
|
|
"type": "shell",
|
|
"command": "go",
|
|
"args": [
|
|
"build",
|
|
"-o",
|
|
"release/linux/regin_mountain_game",
|
|
"."
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"GOOS": "linux",
|
|
"GOARCH": "amd64"
|
|
}
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
"$go"
|
|
]
|
|
},
|
|
{
|
|
"label": "Build All",
|
|
"dependsOn": [
|
|
"Build Windows",
|
|
"Build Linux"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
}
|
|
]
|
|
} |