Re-introducing whitelisting argument to generate.py

This commit is contained in:
boukeversteegh
2020-05-22 20:51:22 +02:00
parent 77c04414f5
commit dd4873dfba
2 changed files with 47 additions and 13 deletions

View File

@@ -6,6 +6,8 @@ os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
root_path = os.path.dirname(os.path.realpath(__file__))
inputs_path = os.path.join(root_path, 'inputs')
output_path_reference = os.path.join(root_path, 'output_reference')
output_path_betterproto = os.path.join(root_path, 'output_betterproto')
if os.name == 'nt':
plugin_path = os.path.join(root_path, '..', 'plugin.bat')