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) RunSource(ctx context.Context, source string, force bool) error
- func (r *Runner) StopWatch(file string)
- func (r *Runner) TaskFiles() []string
- func (r *Runner) WatchDoc(ctx context.Context, file string, doc *spec.SolutionDoc) error
- func (r *Runner) WatchSource(ctx context.Context, source string, force bool) error
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) RunDoc ¶ added in v0.8.0
RunDoc runs the given file task once. It should not act on a cached value.
Click to show internal directories.
Click to hide internal directories.