datahub/docs-website/graphql/generateGraphQLSchema.sh

9 lines
412 B
Bash
Raw Normal View History

#!/bin/sh
rm combined.graphql
touch combined.graphql
echo "Generating combined GraphQL schema..."
echo "# Auto Generated During Docs Build" >> combined.graphql
cat ../../datahub-graphql-core/src/main/resources/entity.graphql >> combined.graphql
cat ../../datahub-graphql-core/src/main/resources/search.graphql >> combined.graphql
cat ../../datahub-graphql-core/src/main/resources/app.graphql >> combined.graphql