diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-01-10 07:37:17 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-01-10 08:11:47 +0200 |
commit | fe488174702cf75acb9497418e1e3d76c580943b (patch) | |
tree | fb9dbabdee061a796e7b34f367034dd58c134a08 /subplot.py | |
parent | 8c583252d22856a47b5cdf30997cbae305b70f36 (diff) | |
download | subplot-fe488174702cf75acb9497418e1e3d76c580943b.tar.gz |
Add: --templates option to sp-codegen
Diffstat (limited to 'subplot.py')
-rw-r--r-- | subplot.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ def run_docgen(ctx, md=None, output=None): def run_codegen(ctx, filename=None): codegen = binary('sp-codegen') - runcmd(ctx, [codegen, filename, '-o', 'test.py', '--run']) + tmpldir = os.path.join(srcdir, 'templates') + runcmd(ctx, [codegen, filename, '-o', 'test.py', '--run', '--templates', tmpldir]) exit_code_zero(ctx) def file_exists(ctx, filename=None): |