summaryrefslogtreecommitdiff
path: root/subplot/bumper.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-05 11:47:03 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-05 11:47:03 +0300
commit19cb8fcd22e9d2bc240cbd2b23efa2e19cf7ea52 (patch)
tree9b3e746ba6d523c080f0f40b5c0798f7e9326da5 /subplot/bumper.yaml
parent62e5bf8eca44deec7f45bb697ee98298b8abd219 (diff)
downloadbumper-rs-19cb8fcd22e9d2bc240cbd2b23efa2e19cf7ea52.tar.gz
feat: update Cargo.lock int Rust projects
If we update Cargo.toml, but not Cargo.lock, and Cargo.lock is in git, when cargo publish will refuse to publish, because the files are out of sync.
Diffstat (limited to 'subplot/bumper.yaml')
-rw-r--r--subplot/bumper.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot/bumper.yaml b/subplot/bumper.yaml
index 50cf83c..6109c59 100644
--- a/subplot/bumper.yaml
+++ b/subplot/bumper.yaml
@@ -21,3 +21,9 @@
- then: "all changes in {dirname} are committed"
function: git_working_tree_is_clean
+
+- then: "file {file1} is newer than {file2}"
+ function: file_is_newer_than_other_file
+
+- then: "file {filename} is committed to git"
+ function: file_is_in_git