pantry/projects/tea.xyz/package.yml
2023-10-01 20:35:09 -04:00

22 lines
519 B
YAML

distributable:
url: https://github.com/teaxyz/cli/releases/download/v{{ version }}/tea-{{ version }}.tar.xz
strip-components: 1
# NOTE for pre v0.23 is strip-components: 2
display-name: tea/cli
versions:
github: teaxyz/cli
build:
dependencies:
deno.land: '>=1.23 <1.25 || ^1.25.3'
# ^^ 1.25.0 - 1.25.2 panics on Linux for us
working-directory: ${{prefix}}/bin
script:
deno task --config "$SRCROOT"/deno.jsonc compile
test: |
tea --version
test "$(tea --version)" = "tea {{ version }}"