diff --git a/projects/tailcall.run/package.yml b/projects/tailcall.run/package.yml new file mode 100644 index 00000000..a2e16f78 --- /dev/null +++ b/projects/tailcall.run/package.yml @@ -0,0 +1,22 @@ +distributable: + url: https://github.com/tailcallhq/tailcall/archive/refs/tags/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: + - test "$(tailcall --version)" = "tailcall {{version}}"