Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove gofish #3312

Merged
merged 3 commits into from Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.