Commit 3ce8411a authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Generate the _ri stub only in non-taste targets

parent 638772ea
......@@ -1234,9 +1234,10 @@ package {process_name}_RI is''']
ada_file.write(
'\n'.join(format_ada_code(ads_template)).encode('latin1'))
with open(f"{process_name.lower()}_ri.ads", "wb") as ri_stub:
ri_stub.write (
"\n".join(format_ada_code(ri_stub_template)).encode('latin1'))
if not taste:
with open(f"{process_name.lower()}_ri.ads", "wb") as ri_stub:
ri_stub.write (
"\n".join(format_ada_code(ri_stub_template)).encode('latin1'))
with open("{}_ada.gpr".format(process_name.lower()), "wb") as gprada:
gprada.write(ada_gpr.encode('utf-8'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment