mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-12 19:54:33 +08:00
a04720dc1c
Any change in .gitlab-ci/ directory triggers an entire CI run, which is unnecessary for just changing the developers' scripts. Added symlink to `.gitlab-ci/bin` to keep original invocation compatibility. Reviewed-by: Martin Roukala <martin.roukala@mupuf.org> Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20371>
12 lines
292 B
Bash
Executable File
12 lines
292 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Helper script to download the schema GraphQL from Gitlab to enable IDEs to
|
|
# assist the developer to edit gql files
|
|
|
|
SOURCE_DIR=$(dirname "$(realpath "$0")")
|
|
|
|
(
|
|
cd $SOURCE_DIR || exit 1
|
|
gql-cli https://gitlab.freedesktop.org/api/graphql --print-schema > schema.graphql
|
|
)
|