Documentation ¶
Index ¶
- func ReadSolutionDoc(file string) (*spec.SolutionDoc, error)
- type Runner
- func (r *Runner) Clear()
- func (r *Runner) HasTask(name string) bool
- func (r *Runner) OnTask(fn func(*tasks.TaskEvent))
- func (r *Runner) RunDoc(ctx context.Context, file string, doc *spec.SolutionDoc) error
- func (r *Runner) StartWatch(ctx context.Context, file string, doc *spec.SolutionDoc) error
- func (r *Runner) StopWatch(file string)
- func (r *Runner) TaskFiles() []string
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 (*Runner) StartWatch ¶ added in v0.8.0
StartWatch starts the watch of the given file task.
Click to show internal directories.
Click to hide internal directories.