Skip to content

Commit

Permalink
feat: remove gofish (#3312)
Browse files Browse the repository at this point in the history
* feat: remove gofish

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: remove more unused code

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: remove more references

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Aug 16, 2022
1 parent 66e863d commit 08e7038
Show file tree
Hide file tree
Showing 27 changed files with 18 additions and 1,932 deletions.
4 changes: 0 additions & 4 deletions internal/artifact/artifact.go
Expand Up @@ -56,8 +56,6 @@ const (
UploadableSourceArchive
// BrewTap is an uploadable homebrew tap recipe file.
BrewTap
// GoFishRig is an uploadable Rigs rig food file.
GoFishRig
// PkgBuild is an Arch Linux AUR PKGBUILD file.
PkgBuild
// SrcInfo is an Arch Linux AUR .SRCINFO file.
Expand Down Expand Up @@ -96,8 +94,6 @@ func (t Type) String() string {
return "Source"
case BrewTap:
return "Brew Tap"
case GoFishRig:
return "GoFish Rig"
case KrewPluginManifest:
return "Krew Plugin Manifest"
case ScoopManifest:
Expand Down
10 changes: 0 additions & 10 deletions internal/golden/golden.go
Expand Up @@ -39,17 +39,7 @@ func RequireEqualRb(tb testing.TB, out []byte) {
doRequireEqual(tb, out, ".rb", golden)
}

func RequireEqualLua(tb testing.TB, out []byte) {
tb.Helper()
doRequireEqual(tb, out, ".lua", golden)
}

func RequireEqualYaml(tb testing.TB, out []byte) {
tb.Helper()
doRequireEqual(tb, out, ".yml", golden)
}

func RequireEqualNakedYaml(tb testing.TB, out []byte) {
tb.Helper()
doRequireEqual(tb, out, ".yaml", "")
}
Expand Down
11 changes: 3 additions & 8 deletions internal/pipe/aur/aur_test.go
Expand Up @@ -590,13 +590,8 @@ func TestRunEmptyTokenType(t *testing.T) {
Dist: folder,
ProjectName: "foo",
Release: config.Release{},
Rigs: []config.GoFish{
{
Rig: config.RepoRef{
Owner: "test",
Name: "test",
},
},
AURs: []config.AUR{
{},
},
})
ctx.Git = context.GitInfo{CurrentTag: "v1.0.1"}
Expand All @@ -612,7 +607,7 @@ func TestRunEmptyTokenType(t *testing.T) {
ctx.Artifacts.Add(&artifact.Artifact{
Name: "bin",
Path: path,
Goos: "darwin",
Goos: "linux",
Goarch: "amd64",
Type: artifact.UploadableArchive,
Extra: map[string]interface{}{
Expand Down
3 changes: 0 additions & 3 deletions internal/pipe/gofish/doc.go

This file was deleted.

56 changes: 0 additions & 56 deletions internal/pipe/gofish/food_template.go

This file was deleted.

0 comments on commit 08e7038

Please sign in to comment.