pantry/projects/tailcall.run/package.yml
Jacob Heider bb2f99e4dc fix(tailcall)
closes #5664
closes #5663
2024-03-21 12:23:06 -04:00

26 lines
530 B
YAML

distributable:
url: https://tailcall.gateway.scarf.sh/archive/refs/tags/tailcall-v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/tailcall
versions:
github: tailcallhq/tailcall
strip: /v/
build:
env:
APP_VERSION: '{{ version }}'
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script: cargo install --locked --path . --root {{prefix}}
test:
script:
# required file
- run: touch .env
if: '>=0.66.0'
- test "$(tailcall --version)" = "tailcall {{version}}"