mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
schema: add a script to re-export the schema
This commit is contained in:
committed by
nitnelave
parent
2954109d96
commit
6ef06163db
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: Generate GraphQL schema
|
||||
run: cargo run -- export_graphql_schema -o generated_schema.graphql
|
||||
- name: Check schema
|
||||
run: diff schema.graphql generated_schema.graphql
|
||||
run: diff schema.graphql generated_schema.graphql || (echo "The schema file is out of date. Please run `./export_schema.sh`" && false)
|
||||
|
||||
|
||||
clippy:
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#! /bin/sh
|
||||
|
||||
cd $(dirname $(readlink -f "$0"))
|
||||
|
||||
cargo run -- export_graphql_schema -o schema.graphql
|
||||
Reference in New Issue
Block a user