classes

package
v0.0.0-...-6eb5e97 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeSequential = 0
	TypeParallel   = 1
	TypeWatch      = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Type int
	Run  []string
	Name string // only used for watch commands
}

type Config

type Config struct {
	Sequential *map[string]interface{} `toml:"sequential"`
	Parallel   *map[string][]string    `toml:"parallel"`
	Watch      *map[string]interface{} `toml:"watch"`
}

func GetConfig

func GetConfig() (*Config, error)

func (*Config) FindCommandFromName

func (c *Config) FindCommandFromName(name string) (*Command, error)

Jump to

Keyboard shortcuts

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