5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 19:50:15 +08:00
wails/v3/internal/commands/build.go
Lea Anthony 82287a4758
[v3] Support task flags pass through
[v3] `wails build` -> `wails task build`
2023-01-23 21:08:03 +11:00

13 lines
214 B
Go

package commands
import (
"os"
"github.com/wailsapp/wails/v3/internal/flags"
)
func Build(_ *flags.Build) error {
os.Args = []string{"wails", "task", "build"}
return RunTask(&RunTaskOptions{}, []string{})
}