mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Allow users to pass custom build tags via `wails3 build -tags gtk4` instead of requiring Taskfile modifications. Tags are forwarded as EXTRA_TAGS to platform Taskfiles and appended to the go build command alongside the existing production tag. Works for both native and Docker cross-compilation builds. Closes #4957 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
252 B
Go
18 lines
252 B
Go
package flags
|
|
|
|
type Build struct {
|
|
Common
|
|
Tags string `name:"tags" description:"Additional build tags to pass to the Go compiler (comma-separated)"`
|
|
}
|
|
|
|
type Dev struct {
|
|
Common
|
|
}
|
|
|
|
type Package struct {
|
|
Common
|
|
}
|
|
|
|
type SignWrapper struct {
|
|
Common
|
|
}
|