sol

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 13 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. It should not act on a cached value.

func (*Runner) RunSource added in v0.27.0

func (r *Runner) RunSource(ctx context.Context, source string, force bool) error

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

func (*Runner) WatchDoc added in v0.27.0

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

WatchDoc starts the watch of the given file task.

func (*Runner) WatchSource added in v0.27.0

func (r *Runner) WatchSource(ctx context.Context, source string, force bool) error

Jump to

Keyboard shortcuts

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