1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: cleanup

This commit is contained in:
Carlos Alexandro Becker 2017-12-18 00:53:48 -02:00
parent 64485c9c37
commit 245e888359
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
6 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,3 @@
// Package buildtarget provides the utilities targeting build matrixes.
// TODO: probably this package should be removed and used only inside the build package
package buildtarget

View File

@ -3,7 +3,7 @@ package ext
import "github.com/goreleaser/goreleaser/internal/buildtarget"
// For returns the binary extension for the given platform
func For(target buildtarget.Target) (ext string) {
func For(target buildtarget.Target) string {
if target.OS == "windows" {
return ".exe"
}

View File

@ -5,10 +5,9 @@ import (
"path/filepath"
"testing"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/config"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/stretchr/testify/assert"
)

View File

@ -5,10 +5,9 @@ import (
"os"
"testing"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/config"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/stretchr/testify/assert"
)

View File

@ -3,13 +3,13 @@ package release
import (
"os"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/apex/log"
"golang.org/x/sync/errgroup"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/internal/client"
"github.com/goreleaser/goreleaser/pipeline"
"golang.org/x/sync/errgroup"
)
// Pipe for github release

View File

@ -9,10 +9,9 @@ import (
"sort"
"testing"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/goreleaser/goreleaser/config"
"github.com/goreleaser/goreleaser/context"
"github.com/goreleaser/goreleaser/internal/artifact"
"github.com/stretchr/testify/assert"
)