script codegen: Avoid modifying in-place a generated file.

This commit is contained in:
Simon Sapin 2017-01-19 17:13:35 +01:00
parent 71fb02953c
commit 0b9ff576e0
5 changed files with 29 additions and 34 deletions

View file

@ -76,6 +76,7 @@ def main():
('PrototypeList', 'PrototypeList.rs'),
('RegisterBindings', 'RegisterBindings.rs'),
('InterfaceObjectMap', 'InterfaceObjectMap.rs'),
('InterfaceObjectMapData', 'InterfaceObjectMapData.json'),
('InterfaceTypes', 'InterfaceTypes.rs'),
('InheritTypes', 'InheritTypes.rs'),
('Bindings', os.path.join('Bindings', 'mod.rs')),