diff --git a/ports/geckolib/generate_properties_rs.py b/ports/geckolib/generate_properties_rs.py deleted file mode 100644 index 1dc9824540d..00000000000 --- a/ports/geckolib/generate_properties_rs.py +++ /dev/null @@ -1,22 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -import os -import sys - -from mako import exceptions -from mako.template import Template - -try: - style_template = Template(filename=os.environ['STYLE_TEMPLATE'], - input_encoding='utf8') - style_template.render(PRODUCT='gecko') - - geckolib_template = Template(filename=os.environ['GECKOLIB_TEMPLATE'], input_encoding='utf8') - output = geckolib_template.render(STYLE_STRUCTS=style_template.module.STYLE_STRUCTS, - to_rust_ident=style_template.module.to_rust_ident) - print(output.encode('utf8')) -except: - sys.stderr.write(exceptions.text_error_template().render().encode('utf8')) - sys.exit(1)