Expose timestamp and checksum to status

This commit is contained in:
Stephen Prater
2019-06-11 11:49:37 -07:00
parent 613dfe06d3
commit 1ee684b7c0
9 changed files with 119 additions and 4 deletions

View File

@@ -7,3 +7,16 @@ build:
generates:
- ./generated.txt
method: checksum
build-with-checksum:
sources:
- ./source.txt
method: checksum
status:
- echo "{{.CHECKSUM}}"
build-with-timestamp:
sources:
- ./source.txt
status:
- echo "{{.TIMESTAMP}}"