764 B
764 B
rules_wails core
Core Bazel rules for Wails applications.
Public API:
wails_toolchainwails_build_assetswails_generate_bindingswails_runwails_app
The caller provides a registered toolchain with:
wails: an executable target used to invoke Wails.go: an executable file used by that Wails wrapper for hermeticgo runexecution.
Notes:
- Core action helpers are Go binaries.
wails_runlaunches the built application but does not build the Go binary for you.wails_generate_bindingsstages the Bazel package tree so bindings generation runs from the correct module root.
Load with:
load("@rules_wails//wails:defs.bzl", "wails_build_assets", "wails_generate_bindings", "wails_run", "wails_toolchain")