wails/v3/internal/flags/task_wrapper.go
Lea Anthony 4097aa363b
feat(v3): add -tags flag to wails3 build command (#4968)
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>
2026-02-07 18:48:34 +11:00

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
}