Skip to content

Commit 8195165

Browse files
committed
add godot mappings.
1 parent 8a3fcb9 commit 8195165

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

compat_generator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ def map_header_files(directory):
5757
if __name__ == "__main__":
5858
# Get current directory
5959
current_directory = os.getcwd()
60-
60+
mapping_name = ""
6161
if len(sys.argv) > 1:
62+
mapping_name = f"_godot"
6263
current_directory = os.path.join(os.getcwd(), sys.argv[1])
6364

6465
file_types_mapping = map_header_files(current_directory)
65-
with open("output_header_mapping.json", "w") as json_file:
66+
with open(f"output_header_mapping{mapping_name}.json", "w") as json_file:
6667
json.dump(file_types_mapping, json_file, indent=4)
File renamed without changes.

0 commit comments

Comments
 (0)