2022-09-23 16:44:25 +03:00
|
|
|
distributable:
|
2023-01-24 16:57:24 +03:00
|
|
|
url: https://github.com/teaxyz/cli/releases/download/v{{ version }}/tea-{{ version }}.tar.xz
|
2023-02-11 17:59:00 +03:00
|
|
|
strip-components: 1
|
|
|
|
# NOTE for pre v0.23 is strip-components: 2
|
2022-09-23 16:44:25 +03:00
|
|
|
|
|
|
|
versions:
|
|
|
|
github: teaxyz/cli
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/tea
|
|
|
|
|
|
|
|
build:
|
2023-01-24 16:57:24 +03:00
|
|
|
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
|
2022-09-23 16:44:25 +03:00
|
|
|
|
2023-01-24 16:57:24 +03:00
|
|
|
test: |
|
|
|
|
tea --version
|
|
|
|
test "$(tea --version)" = "tea {{ version }}"
|