+craftql — GraphQL schema to Graphviz export (#3051)

* +craftql

* use /tags

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
Kevin Chen 2023-08-23 18:53:15 -04:00 committed by GitHub
parent 772137833f
commit 5d555fea5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
distributable:
url: https://github.com/yamafaktory/craftql/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/craftql
versions:
github: yamafaktory/craftql/tags
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
script: |
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(craftql --version)" = "craftql {{version}}"