From 7b9ac392710e2feb7e61c181013d5501e95e4e94 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sat, 15 Apr 2023 17:32:02 -0400 Subject: [PATCH] fix(fish) some test systems have `go` installed --- projects/fishshell.com/package.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/projects/fishshell.com/package.yml b/projects/fishshell.com/package.yml index a7af129e..b625ae8a 100644 --- a/projects/fishshell.com/package.yml +++ b/projects/fishshell.com/package.yml @@ -16,6 +16,7 @@ build: cmake.org: '>=3.5' freedesktop.org/pkg-config: '*' gnu.org/patch: '*' + git-scm.org: ^2 # needed for fish's pcre script: | # By default, fish's fish_command_not_found handler will redirect to stderr, # return an exit code of 127. Always. This patch fixes it. Hopefully, it will @@ -42,8 +43,9 @@ build: test: dependencies: tea.xyz: '*' - script: - fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go" + script: | + fish $FIXTURE + fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10semverator " fixture: | #!/usr/bin/env fish @@ -53,17 +55,17 @@ test: end begin - if which go + if which semverator exit 2 end tea --magic=fish | source - go version + semverator --version #FIXME https://github.com/teaxyz/pantry/issues/861 - # go version > go.out + # semverator --version > semverator.out - # if ! grep go go.out + # if ! grep semverator semverator.out # exit 3 # end end