+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>
This commit is contained in:
Kevin Chen 2023-09-13 19:31:01 -04:00 committed by GitHub
parent badd5a02ae
commit 3c9d48dd2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
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}}"