40 lines
764 B
JSON
40 lines
764 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build dev",
|
|
"type": "shell",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"CGO_ENABLED": "1"
|
|
}
|
|
},
|
|
"osx": {
|
|
"options": {
|
|
"env": {
|
|
"CGO_CFLAGS": "-mmacosx-version-min=10.13",
|
|
"CGO_LDFLAGS": "-framework UniformTypeIdentifiers -mmacosx-version-min=10.13"
|
|
}
|
|
}
|
|
},
|
|
"windows": {
|
|
"options": {
|
|
"env": {
|
|
"CGO_ENABLED": "0"
|
|
}
|
|
}
|
|
},
|
|
"command": "go",
|
|
"args": [
|
|
"build",
|
|
"-tags",
|
|
"dev",
|
|
"-gcflags",
|
|
"all=-N -l",
|
|
"-o",
|
|
"build/bin/testwails.exe"
|
|
]
|
|
}
|
|
]
|
|
} |