pantry/projects/apollographql.com/rover/package.yml
Kevin Chen 3c9d48dd2f
+rover -- The CLI for Apollo GraphOS (#3306)
* +rover -- The CLI for Apollo GraphOS

* ssl/zlib/pkg-config

* make

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-09-13 19:31:01 -04:00

28 lines
528 B
YAML

distributable:
url: https://github.com/apollographql/rover/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/rover
dependencies:
openssl.org: ^1.1
zlib.net: ^1
versions:
github: apollographql/rover
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: ^0
tea.xyz/gx/make: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(rover --version)" = "Rover {{version}}"