mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Style: Integrate #pragma once in builders/checks
This commit is contained in:
parent
7459a0361d
commit
96fdaa616b
17 changed files with 44 additions and 197 deletions
|
|
@ -18,7 +18,7 @@ def export_icon_builder(target, source, env):
|
|||
platform = src_path.parent.parent.stem
|
||||
with open(str(source[0]), "r") as file:
|
||||
svg = file.read()
|
||||
with methods.generated_wrapper(target, prefix=platform) as file:
|
||||
with methods.generated_wrapper(target) as file:
|
||||
file.write(
|
||||
f"""\
|
||||
static const char *_{platform}_{src_name}_svg = {methods.to_raw_cstring(svg)};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue