We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a3fcb9 commit 8195165Copy full SHA for 8195165
compat_generator.py
@@ -57,10 +57,11 @@ def map_header_files(directory):
57
if __name__ == "__main__":
58
# Get current directory
59
current_directory = os.getcwd()
60
-
+ mapping_name = ""
61
if len(sys.argv) > 1:
62
+ mapping_name = f"_godot"
63
current_directory = os.path.join(os.getcwd(), sys.argv[1])
64
65
file_types_mapping = map_header_files(current_directory)
- with open("output_header_mapping.json", "w") as json_file:
66
+ with open(f"output_header_mapping{mapping_name}.json", "w") as json_file:
67
json.dump(file_types_mapping, json_file, indent=4)
output_header_mapping.json renamed to output_header_mapping_godot.json
0 commit comments