Skip to content

Commit

Permalink
+craftql — GraphQL schema to Graphviz export (#3051)
Browse files Browse the repository at this point in the history
* +craftql

* use /tags

---------

Co-authored-by: Jacob Heider <[email protected]>
  • Loading branch information
kevinmichaelchen and jhheider authored Aug 23, 2023
1 parent 7721378 commit 5d555fe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions projects/crates.io/craftql/package.yml
Original file line number Diff line number Diff line change
@@ -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}}"

0 comments on commit 5d555fe

Please sign in to comment.