This commit is contained in:
Jacob Heider 2023-06-27 19:54:02 -04:00
parent e3d725b514
commit 88bd4668f5
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -10,10 +10,7 @@ provides:
- bin/npx
dependencies:
# 20.3.x causes a error on linux+aarch64 (technically docker)
# sh: 1: tldr: Text file busy
# https://github.com/nodejs/node/issues/48444
nodejs.org: '>=14<20.3'
nodejs.org: '>=14'
build:
dependencies:
@ -37,11 +34,19 @@ build:
${{prefix}}/bin
test:
# doing first to test our shim works as expected
- npx -qy tldr ls
dependencies:
# 20.3.x causes a error on linux+aarch64 (technically docker)
# sh: 1: tldr: Text file busy
# https://github.com/nodejs/node/issues/48444
# This is a FIXME, but it should be reasonably harmless.
linux/aarch64:
nodejs.org: '<20.3'
script:
# doing first to test our shim works as expected
- npx -qy tldr ls
- npm install --global cowsay
- npm install --global cowsay
# verify install location is as we configure it
- $HOME/.local/bin/cowsay xyz.tea.hi
# verify install location is as we configure it
- $HOME/.local/bin/cowsay xyz.tea.hi