summaryrefslogtreecommitdiff
path: root/subplot.py
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-01-09 16:15:35 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-01-10 09:49:25 +0000
commitfcdbd77cc2b909b8a1d0fc8d2e6343bbc278470c (patch)
tree05420ead169a05ae3a2b0a7c4564e230596f1fb0 /subplot.py
parente9b941e5218e5e4293bb915b13f831baba246a89 (diff)
downloadsubplot-fcdbd77cc2b909b8a1d0fc8d2e6343bbc278470c.tar.gz
resource: Switch from 'templates' to 'share'
In a general sense, we will want to have more than just template files as resources. This shifts from the concept that the only thing resource-wise that subplot has is templates, to a more general shared resources concept without a default path beyond CWD. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplot.py')
-rw-r--r--subplot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplot.py b/subplot.py
index 4b0ff13..dbfb309 100644
--- a/subplot.py
+++ b/subplot.py
@@ -12,7 +12,7 @@ import tempfile
wrapper = """\
#!/bin/sh
set -eu
-exec '{srcdir}/target/debug/sp-codegen' "$@" -t '{srcdir}/templates'
+exec '{srcdir}/target/debug/sp-codegen' "$@" --resources '{srcdir}/share'
"""