mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
3a2ca68af3
Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
14 lines
501 B
Python
14 lines
501 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
from platform_methods import run_in_subprocess
|
|
import editor_icons_builders
|
|
|
|
make_editor_icons_builder = Builder(action=run_in_subprocess(editor_icons_builders.make_editor_icons_action),
|
|
suffix='.h',
|
|
src_suffix='.svg')
|
|
|
|
env['BUILDERS']['MakeEditorIconsBuilder'] = make_editor_icons_builder
|
|
env.Alias('editor_icons', [env.MakeEditorIconsBuilder('#editor/editor_icons.gen.h', Glob("*.svg"))])
|