mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-16 23:55:52 +01:00
* Test release workflow * Update release.yml * Update release.yml * add linux deps * Update release.yml * Update release.yml * Update release.yml * Update release.yml * Update release.yml * Update release.yml * Update release.yml * Update release.yml * Update release.yml * Fix: Misc tests * Fix: Misc tests + linux build tags * Fix: Bindings tests + move templates to pkg. Add json schema for templates * Fix: template tests * Add tests to release workflow. Test for go 1.18 + go 1.19 Fix: ignore .m files for non darwin builds. Fix watcher test. Fix warning in clilogger. * Fix release pipeline * Matrix for tests * Rename templates to make tests work * Update template test * Debug template test * Debug template test * Debug template test * Fix gitignore * Update release.yml
111 lines
No EOL
2.2 KiB
JSON
111 lines
No EOL
2.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"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",
|
|
"production,desktop",
|
|
"-gcflags",
|
|
"all=-N -l",
|
|
"-o",
|
|
"{{.PathToDesktopBinary}}"
|
|
]
|
|
},
|
|
{
|
|
"label": "build debug",
|
|
"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",
|
|
"production,desktop,debug",
|
|
"-gcflags",
|
|
"all=-N -l",
|
|
"-o",
|
|
"{{.PathToDesktopBinary}}"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"{{.PathToDesktopBinary}}"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|