sol

package
v0.25.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadSolutionDoc

func ReadSolutionDoc(file string) (*spec.SolutionDoc, error)

Types

type Runner added in v0.8.0

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner added in v0.8.0

func NewRunner() *Runner

func (*Runner) Clear added in v0.8.0

func (r *Runner) Clear()

func (*Runner) HasTask added in v0.8.0

func (r *Runner) HasTask(name string) bool

func (*Runner) OnTask added in v0.24.2

func (r *Runner) OnTask(fn func(*tasks.TaskEvent))

func (*Runner) RunDoc added in v0.8.0

func (r *Runner) RunDoc(ctx context.Context, file string, doc *spec.SolutionDoc) error

RunDoc runs the given file task once.

func (*Runner) StartWatch added in v0.8.0

func (r *Runner) StartWatch(ctx context.Context, file string, doc *spec.SolutionDoc) error

StartWatch starts the watch of the given file task.

func (*Runner) StopWatch added in v0.8.0

func (r *Runner) StopWatch(file string)

StopWatch stops the watch of the given file task.

func (*Runner) TaskFiles added in v0.8.0

func (r *Runner) TaskFiles() []string

Jump to

Keyboard shortcuts

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