pantry/projects/tea.xyz/brewkit/package.yml

33 lines
673 B
YAML
Raw Normal View History

2023-02-10 19:15:08 +03:00
distributable:
url: https://github.com/teaxyz/brewkit/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
versions:
github: teaxyz/brewkit
dependencies:
deno.land: ^1.30
gnu.org/bash: '*'
tea.xyz: '>=0.24.10'
2023-02-10 19:15:08 +03:00
2023-02-11 15:25:58 +03:00
build: |
mkdir -p {{prefix}}
2023-03-11 16:54:19 +03:00
rm -rf {{prefix}}/*
# ^^ because our build infra uses this pkg to build itself
for x in bin libexec lib share deno.*; do
test -e $x && mv $x "{{prefix}}"
done
2023-02-10 19:15:08 +03:00
2023-04-30 02:33:17 +03:00
provides:
2023-05-11 16:38:58 +03:00
- bin/tea-pkg
2023-04-30 02:33:17 +03:00
2023-02-10 19:15:08 +03:00
test:
2023-02-11 17:59:00 +03:00
dependencies:
zlib.net: '*'
script:
2023-03-11 14:40:24 +03:00
pkg test zlib.net
2023-02-11 17:59:00 +03:00
# we would like to test builds but we need a `GITHUB_TOKEN` and
# (currently) we cant figure out how to set that up in CI/CD