Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker interface {
IsUpToDate() (bool, error)
Value() (interface{}, error)
OnError() error
Kind() string
}
Checker is an interface that checks if the status is up-to-date
type Checksum ¶
type Checksum struct {
BaseDir string
TaskDir string
Task string
Sources []string
Generates []string
Dry bool
}
Checksum validades if a task is up to date by calculating its source files checksum
func (*Checksum) IsUpToDate ¶
IsUpToDate implements the Checker interface
type None ¶
type None struct{}
None is a no-op Checker
func (None) IsUpToDate ¶
IsUpToDate implements the Checker interface
Click to show internal directories.
Click to hide internal directories.