1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-16 03:52:12 +02:00

chore: more cleanup

This commit is contained in:
Carlos Alexandro Becker 2017-12-18 09:00:19 -02:00
parent 245e888359
commit 10c6df73c0
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
12 changed files with 15 additions and 14 deletions

View File

@ -8,6 +8,8 @@ import (
"github.com/apex/log"
"github.com/apex/log/handlers/cli"
yaml "gopkg.in/yaml.v2"
"github.com/goreleaser/goreleaser/config"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/pipeline"
@ -27,7 +29,6 @@ import (
"github.com/goreleaser/goreleaser/pipeline/release"
"github.com/goreleaser/goreleaser/pipeline/sign"
"github.com/goreleaser/goreleaser/pipeline/snapcraft"
yaml "gopkg.in/yaml.v2"
)
var (

View File

@ -1,5 +1,6 @@
// Package archiveformat provides functions to get the format of given package
// based on the config
// TODO: this can be moved inside the archive pipe package
package archiveformat
import (

View File

@ -13,7 +13,6 @@ import (
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/pipeline"
"github.com/stretchr/testify/assert"
)

View File

@ -7,7 +7,6 @@ import (
"github.com/goreleaser/goreleaser/config"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/testlib"
"github.com/stretchr/testify/assert"
)

3
pipeline/doc.go Normal file
View File

@ -0,0 +1,3 @@
// Package pipeline provides the generic piper and defaulter interfaces,
// which should be implemented add new pipes to goreleaser..
package pipeline

3
pipeline/git/doc.go Normal file
View File

@ -0,0 +1,3 @@
// Package git implements the Pipe interface getting and validating the
// current git repository state
package git

View File

@ -1,5 +1,3 @@
// Package git implements the Pipe interface getting and validating the
// current git repository state
package git
import (

View File

@ -1,4 +1,3 @@
// Package pipeline provides a generic pipe interface.
package pipeline
import (

View File

@ -4,7 +4,6 @@ import (
"testing"
"github.com/goreleaser/goreleaser/internal/testlib"
"github.com/stretchr/testify/assert"
)

View File

@ -12,7 +12,6 @@ import (
"github.com/goreleaser/goreleaser/config"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/stretchr/testify/assert"
)

View File

@ -9,15 +9,15 @@ import (
"os/exec"
"path/filepath"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/internal/nametemplate"
"github.com/apex/log"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/linux"
"github.com/goreleaser/goreleaser/pipeline"
"golang.org/x/sync/errgroup"
yaml "gopkg.in/yaml.v2"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/internal/linux"
"github.com/goreleaser/goreleaser/internal/nametemplate"
"github.com/goreleaser/goreleaser/pipeline"
)
// ErrNoSnapcraft is shown when snapcraft cannot be found in $PATH