summaryrefslogtreecommitdiff
path: root/subplot/bumper.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-19 17:45:11 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-19 17:45:11 +0300
commitc70f697bd2355950e51f4b072e52ae4d0db8eac3 (patch)
treeb402d96e4d88cbdaf7918847f3e37e43666251b4 /subplot/bumper.yaml
parent295142e4989cad09c9c87de15c650d35b6c31dc8 (diff)
downloadbumper-rs-c70f697bd2355950e51f4b072e52ae4d0db8eac3.tar.gz
fix: add 'impl' to bindings file for current Subplot
Sponsored-by: author
Diffstat (limited to 'subplot/bumper.yaml')
-rw-r--r--subplot/bumper.yaml48
1 files changed, 35 insertions, 13 deletions
diff --git a/subplot/bumper.yaml b/subplot/bumper.yaml
index 83aae28..fe521fb 100644
--- a/subplot/bumper.yaml
+++ b/subplot/bumper.yaml
@@ -1,32 +1,54 @@
- given: "an installed Bumper"
- function: install_bumper
+ impl:
+ python:
+ function: install_bumper
- given: "file {filename} is executable"
- function: chmod_exec
+ impl:
+ python:
+ function: chmod_exec
- given: "all files in {dirname} are committed to git"
- function: git_init_and_commit_everything
+ impl:
+ python:
+ function: git_init_and_commit_everything
- given: "the HEAD commit in {dirname} is {varname}"
- function: remember_HEAD
-
+ impl:
+ python:
+ function: remember_HEAD
+
- when: "I run, in {dirname}, {argv0}{args:text}"
- function: run_command_in_directory
-
+ impl:
+ python:
+ function: run_command_in_directory
+
- when: "I try to run, in {dirname}, {argv0}{args:text}"
- function: try_to_run_command_in_directory
+ impl:
+ python:
+ function: try_to_run_command_in_directory
- then: "only files {filenames:text} exist in {dirname}"
- function: only_these_files_exist_in
+ impl:
+ python:
+ function: only_these_files_exist_in
- then: "in {dirname}, git tag {tag} is a signed tag"
- function: git_tag_exists
+ impl:
+ python:
+ function: git_tag_exists
- then: "all changes in {dirname} are committed"
- function: git_working_tree_is_clean
+ impl:
+ python:
+ function: git_working_tree_is_clean
- then: "file {file1} is newer than {file2}"
- function: file_is_newer_than_other_file
+ impl:
+ python:
+ function: file_is_newer_than_other_file
- then: "file {filename} is committed to git"
- function: file_is_in_git
+ impl:
+ python:
+ function: file_is_in_git