summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2025-06-12 01:53:38 -0700
committerGravatar GitHub <noreply@github.com> 2025-06-12 01:53:38 -0700
commitc9adb09abc626cdcc35c345a635ad8c163fcff3e (patch)
tree93f78bf8e5910a044f96ed77aca498ac60ada804 /hack
parent179679633a9fc3317585167f86c87a7fe8394945 (diff)
parentb78875e2265339b58c7a67cc83e6db2988aa0d74 (diff)
downloadgithub-mirror-c9adb09abc626cdcc35c345a635ad8c163fcff3e.tar.gz
github-mirror-c9adb09abc626cdcc35c345a635ad8c163fcff3e.tar.zst
github-mirror-c9adb09abc626cdcc35c345a635ad8c163fcff3e.zip
Merge pull request #2 from ansg191/srht
Diffstat (limited to 'hack')
-rw-r--r--hack/graphql_to_header.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hack/graphql_to_header.py b/hack/graphql_to_header.py
index da0107d..c4eaa5f 100644
--- a/hack/graphql_to_header.py
+++ b/hack/graphql_to_header.py
@@ -8,6 +8,7 @@ var_name = sys.argv[3]
with input_path.open() as f:
lines = f.readlines()
+output_path.parent.mkdir(parents=True, exist_ok=True)
with output_path.open("w") as f:
f.write(
f'''#ifndef QUERIES_{var_name.upper()}_H