pantry/projects/crates.io/craftql/package.yml
Kevin Chen 5d555fea5d
+craftql — GraphQL schema to Graphviz export (#3051)
* +craftql

* use /tags

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-08-23 18:53:15 -04:00

22 lines
431 B
YAML

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}}"