2024-01-05 04:45:25 +03:00
|
|
|
distributable:
|
2024-01-05 08:04:49 +03:00
|
|
|
url: https://tailcall.gateway.scarf.sh/archive/refs/tags/tailcall-v{{ version }}.tar.gz
|
2024-01-05 04:45:25 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/tailcall
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: tailcallhq/tailcall
|
|
|
|
strip: /v/
|
|
|
|
|
|
|
|
build:
|
|
|
|
env:
|
2024-03-21 18:26:56 +03:00
|
|
|
APP_VERSION: '{{ version }}'
|
2024-01-05 04:45:25 +03:00
|
|
|
dependencies:
|
2024-03-21 18:26:56 +03:00
|
|
|
rust-lang.org: '>=1.65'
|
|
|
|
rust-lang.org/cargo: '*'
|
2024-01-05 04:45:25 +03:00
|
|
|
script: cargo install --locked --path . --root {{prefix}}
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
2024-03-21 18:26:56 +03:00
|
|
|
# required file
|
|
|
|
- run: touch .env
|
|
|
|
if: '>=0.66.0'
|
2024-01-05 04:45:25 +03:00
|
|
|
- test "$(tailcall --version)" = "tailcall {{version}}"
|