Files
2026-03-12 18:58:43 +01:00
..
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00

rules_wails core

Core Bazel rules for Wails applications.

Public API:

  • wails_toolchain
  • wails_build_assets
  • wails_generate_bindings
  • wails_run
  • wails_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 hermetic go run execution.

Notes:

  • Core action helpers are Go binaries.
  • wails_run launches the built application but does not build the Go binary for you.
  • wails_generate_bindings stages 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")