1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/pipeline/pipe.go

14 lines
260 B
Go
Raw Normal View History

2017-04-14 20:39:32 +02:00
// Package pipeline provides a generic pipe interface.
2016-12-30 13:27:35 +02:00
package pipeline
2017-01-15 00:01:32 +02:00
import "github.com/goreleaser/goreleaser/context"
2016-12-30 13:27:35 +02:00
2016-12-30 16:41:59 +02:00
// Pipe interface
2016-12-30 13:27:35 +02:00
type Pipe interface {
2016-12-30 16:41:59 +02:00
// Name of the pipe
2017-01-14 19:14:35 +02:00
Description() string
2016-12-30 16:41:59 +02:00
// Run the pipe
2017-01-14 18:06:57 +02:00
Run(ctx *context.Context) error
2016-12-30 13:27:35 +02:00
}