Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplatesFS embed.FS
Functions ¶
func GetTemplate ¶
GetTemplate loads a template from the embedded filesystem
func ValidateRoot ¶
ValidateRoot checks if the root directory exists
Types ¶
type AppBuilder ¶
type AppBuilder struct{}
AppBuilder builds Wails desktop applications
func (*AppBuilder) Build ¶
func (a *AppBuilder) Build(config Config) error
Build creates a Wails desktop application
func (*AppBuilder) Validate ¶
func (a *AppBuilder) Validate(config Config) error
Validate validates the build configuration
type BuildError ¶
BuildError represents a build error
func NewBuildError ¶
func NewBuildError(message string, err error) BuildError
NewBuildError creates a new build error
func (BuildError) Error ¶
func (e BuildError) Error() string
type CliBuilder ¶
type CliBuilder struct{}
CliBuilder builds CLI applications based on cmd/redi
func (*CliBuilder) Build ¶
func (c *CliBuilder) Build(config Config) error
Build creates a CLI application project
func (*CliBuilder) Validate ¶
func (c *CliBuilder) Validate(config Config) error
Validate validates the build configuration
type Config ¶
type Config struct {
Root string
Output string
AppName string
Platform string
Extensions []string
ConfigFile string
}
Config represents build configuration
type EmbedBuilder ¶
type EmbedBuilder struct{}
EmbedBuilder builds embedded project source code
func NewEmbedBuilder ¶
func NewEmbedBuilder() *EmbedBuilder
NewEmbedBuilder creates a new embed builder
func (*EmbedBuilder) Build ¶
func (e *EmbedBuilder) Build(config Config) error
Build creates an embedded executable project
func (*EmbedBuilder) Validate ¶
func (e *EmbedBuilder) Validate(config Config) error
Validate validates the build configuration
Click to show internal directories.
Click to hide internal directories.