Documentation ¶ Index ¶ Constants Variables type Task type Tasks func (ts Tasks) Get(tsname string) (task Task, ok bool) func (ts Tasks) Run(ctx context.Context, tsname string) error func (ts Tasks) ValidateDependencies(task string, prevTasks []string) error Constants ¶ View Source const MAX_DEPS = 50 Variables ¶ View Source var ( COMMAND_SEP string = ";" COMMAND_RUNNER = "bash" COMMAND_FLAG = "-c" ) Functions ¶ This section is empty. Types ¶ type Task ¶ type Task struct { Name string Description []string Commands []string Dir string Env []string DependsOn []string ParsingError string } type Tasks ¶ type Tasks []Task func (Tasks) Get ¶ func (ts Tasks) Get(tsname string) (task Task, ok bool) func (Tasks) Run ¶ func (ts Tasks) Run(ctx context.Context, tsname string) error func (Tasks) ValidateDependencies ¶ func (ts Tasks) ValidateDependencies(task string, prevTasks []string) error Source Files ¶ View all Source files models.go Click to show internal directories. Click to hide internal directories.