summaryrefslogtreecommitdiff
path: root/subplot.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-27 10:10:56 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-28 10:24:14 +0300
commit6a19cfed49ecd556d24674811fd9e95793f7e262 (patch)
tree91f3eae8c6586bd3c4b3a2b5fab99db2b95ff0cc /subplot.md
parent64345866b3d0fdd9a8835cf1fac88f7db456322e (diff)
downloadsubplot-6a19cfed49ecd556d24674811fd9e95793f7e262.tar.gz
refactor(subplot.{md,py,yaml}): use step functions from lib/runcmd.py
Use the Python functions from lib/runcmd.py instead of the ones from ./runcmd.py. This changes some bindings in subplot.yaml to use functions from lib/runcmd.py, and changes some step functions in subplot.py to be defined in terms of functions in lib/runcmd.py. The actual steps in subplot.md are not changed and no bindings from lib/runcmd.yaml are yet used. Some bindings that used to come from runcmd.yaml are here added to subplot.yaml. This is temporary change that will be undone later by replacing those bindings with ones from lib/runcmd.yaml, but doing that in this commit would make it bigger and harder to follow.
Diffstat (limited to 'subplot.md')
-rw-r--r--subplot.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/subplot.md b/subplot.md
index ec0ca43..845c3e6 100644
--- a/subplot.md
+++ b/subplot.md
@@ -2388,12 +2388,11 @@ title: "Subplot"
author: The Subplot project
bindings:
- subplot.yaml
-- runcmd.yaml
- lib/files.yaml
functions:
- subplot.py
-- runcmd.py
- lib/files.py
+- lib/runcmd.py
classes:
- json
...