pantry/projects/pkgx.sh/brewkit/package.yml
Jacob Heider b408ec5cdc
fix(brewkit)
closes #5286
closes #5278
2024-02-20 11:50:07 -05:00

44 lines
869 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: https://github.com/pkgxdev/brewkit/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
display-name: brewkit
versions:
github: pkgxdev/brewkit
dependencies:
deno.land: ~1.39 # 1.40 shouts unskippable deprecation warnings
gnu.org/bash: ^5
pkgx.sh: ^1
provides:
- bin/bk
build:
script:
- mkdir -p {{prefix}}
- |
for x in $PARTS; do
test -e $x && cp -a $x "{{prefix}}"
done
env:
PARTS:
- bin
- libexec
- lib
- share
- deno.*
- audit
- build
- test
test:
# we cant test builds since brewkit is not designed to be invoked
# recursively and fails in the toolchain setup on Linux and fails due to
# Ruby 2 not liking unicode paths on macOS
#- bk build pkgx.sh/brewkit
#- bk test pkgx.sh/brewkit
- bk --help
- bk build --help