mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(nushell)
API change
This commit is contained in:
parent
b52cfd60f2
commit
4e409556f8
1 changed files with 8 additions and 1 deletions
|
@ -19,12 +19,19 @@ build:
|
|||
cargo test
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
crates.io/semverator: '*'
|
||||
script: |
|
||||
dd if=/dev/zero count=1 bs=101 of=big
|
||||
dd if=/dev/zero count=1 bs=99 of=little
|
||||
OUT=$(nu -c 'ls | where size < 100b')
|
||||
test "$OUT" = "$FIXTURE"
|
||||
nu -c 'fetch https://tea.xyz'
|
||||
|
||||
if semverator lt {{version}} 0.75.0; then
|
||||
nu -c 'fetch https://tea.xyz'
|
||||
else
|
||||
nu -c 'http get https://tea.xyz'
|
||||
fi
|
||||
env:
|
||||
FIXTURE: |
|
||||
╭───┬────────┬──────┬──────┬──────────╮
|
||||
|
|
Loading…
Reference in a new issue