sol

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplateDir added in v0.8.0

func GetTemplateDir(rootDir string, template string) (string, error)

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(file string) bool

func (*Runner) RunDoc added in v0.8.0

func (r *Runner) RunDoc(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(file string, doc *spec.SolutionDoc) (chan<- bool, 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