summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot.yaml b/subplot.yaml
index f35cdef..da84a7d 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -25,6 +25,9 @@
- when: I run sp-meta {filename}
function: run_meta
+- when: I run sp-meta {filename} -o json
+ function: run_meta_json
+
- when: I run pandoc --filter sp-filter {filename} -o {output}
function: run_pandoc_with_filter
@@ -51,3 +54,6 @@
- then: cleanup for "(?P<keyword>given|when|then) (?P<name>.+)" was not run
function: cleanup_was_not_run
regex: true
+
+- then: JSON output matches {filename}
+ function: json_output_matches_file