Documentation
¶
Index ¶
- Variables
- func Cleanup()
- func GetHash(fp string) (h []byte, err error)
- func SetHash(fp string, h []byte) (err error)
- func Setup()
- type Command
- type Step
- func (s *Step) AddFileDeps(patterns ...string) *Step
- func (s *Step) Commands() []Command
- func (s *Step) DependsOn(steps ...*Step) *Step
- func (s *Step) Done() bool
- func (s *Step) FileDeps() []string
- func (s *Step) Name() string
- func (s *Step) Run(ctx context.Context) (err error)
- func (s *Step) SetFileDeps(patterns []string) *Step
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Step ¶
type Step struct {
// contains filtered or unexported fields
}
Step represents a single build step.
func (*Step) AddFileDeps ¶
AddFileDeps adds file dependencies.
func (*Step) SetFileDeps ¶
SetFileDeps sets the file dependencies.
Click to show internal directories.
Click to hide internal directories.