xo-facet xo-object2 facet gen bugfixes
This commit is contained in:
parent
ec7a39135f
commit
f3240ac4b9
1 changed files with 2 additions and 3 deletions
|
|
@ -53,7 +53,6 @@ def format_args_routing(args):
|
|||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--templates', required=True, help='.j2 template directory')
|
||||
parser.add_argument('--input', required=True, help='input IDL JSON5 file')
|
||||
parser.add_argument('--output-impl-hpp', required=True, help='.hpp detail subdir')
|
||||
parser.add_argument('--output-hpp', required=True, help='.hpp output directory')
|
||||
|
|
@ -75,8 +74,8 @@ def main():
|
|||
output_cpp_dir.mkdir(parents=False, exist_ok=True)
|
||||
|
||||
# setup jinja2
|
||||
template_dir = Path(args.templates)
|
||||
#template_dir = Path(__file__).parent
|
||||
#template_dir = Path(args.templates)
|
||||
template_dir = Path(__file__).parent
|
||||
#template_dir = Path(__file__).parent / 'codegen'
|
||||
|
||||
print(f'template_dir: [{template_dir}]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue