diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-19 14:51:37 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-19 14:51:37 +0000 |
commit | 676c43f0e5da9c06f7f587b84e0bc6dc98c5ba3d (patch) | |
tree | 5d5c6cb7a43771f4223fda2aa0980fc2a78a0c06 /subplot/bumper.yaml | |
parent | a189b49e4989d60bf6adbaf19f0e0489cd964d8e (diff) | |
parent | e5ce55667326fadf260f97b3ba189f82566f12f4 (diff) | |
download | bumper-rs-main.tar.gz |
chore: drop unnecessary &, as pointed out by clippy
See merge request larswirzenius/bumper!24
Diffstat (limited to 'subplot/bumper.yaml')
-rw-r--r-- | subplot/bumper.yaml | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/subplot/bumper.yaml b/subplot/bumper.yaml index 83aae28..26d542a 100644 --- a/subplot/bumper.yaml +++ b/subplot/bumper.yaml @@ -1,32 +1,44 @@ - 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 - -- when: "I run, in {dirname}, {argv0}{args:text}" - 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: remember_HEAD - 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 |