Inital commit
This commit is contained in:
28
wails/README.md
Normal file
28
wails/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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:
|
||||
|
||||
```starlark
|
||||
load("@rules_wails//wails:defs.bzl", "wails_build_assets", "wails_generate_bindings", "wails_run", "wails_toolchain")
|
||||
```
|
||||
Reference in New Issue
Block a user