models

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Name    string
	Path    string
	Env     map[string]string
	Targets []*Target
}

func (*Bundle) Target

func (b *Bundle) Target(name string) (*Target, bool)

func (*Bundle) TargetsByType

func (b *Bundle) TargetsByType(suffix string) []*Target

type DotenvConfig

type DotenvConfig struct {
	Enabled bool
	Files   []string
}

type FailedTarget

type FailedTarget struct {
	ID       string
	Error    error
	ExitCode int
}

type Result

type Result struct {
	Executed []string
	Skipped  []string
	Failed   []FailedTarget
	Duration time.Duration
}

type Target

type Target struct {
	Name       string
	BundleName string
	BundlePath string
	In         []string
	Out        []string
	Deps       []string
	Env        map[string]string
	Cmd        string
	Config     TargetConfig
}

func (*Target) HasSuffix

func (t *Target) HasSuffix(suffix string) bool

func (*Target) ID

func (t *Target) ID() string

type TargetConfig

type TargetConfig struct {
	WorkingDir string
	Dotenv     DotenvConfig
	Reload     bool
	Ignore     []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL