mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
fix(fish)
some test systems have `go` installed
This commit is contained in:
parent
3488ffd720
commit
7b9ac39271
1 changed files with 8 additions and 6 deletions
|
@ -16,6 +16,7 @@ build:
|
||||||
cmake.org: '>=3.5'
|
cmake.org: '>=3.5'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
|
git-scm.org: ^2 # needed for fish's pcre
|
||||||
script: |
|
script: |
|
||||||
# By default, fish's fish_command_not_found handler will redirect to stderr,
|
# 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
|
# return an exit code of 127. Always. This patch fixes it. Hopefully, it will
|
||||||
|
@ -42,8 +43,9 @@ build:
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz: '*'
|
tea.xyz: '*'
|
||||||
script:
|
script: |
|
||||||
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go"
|
fish $FIXTURE
|
||||||
|
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10semverator "
|
||||||
fixture: |
|
fixture: |
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
@ -53,17 +55,17 @@ test:
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
if which go
|
if which semverator
|
||||||
exit 2
|
exit 2
|
||||||
end
|
end
|
||||||
|
|
||||||
tea --magic=fish | source
|
tea --magic=fish | source
|
||||||
go version
|
semverator --version
|
||||||
|
|
||||||
#FIXME https://github.com/teaxyz/pantry/issues/861
|
#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
|
# exit 3
|
||||||
# end
|
# end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue