Created
November 30, 2020 18:34
-
-
Save ferki/5ff97e1e6a5d6c8aadcb1db46a9f3cf4 to your computer and use it in GitHub Desktop.
Rex::Hook::File::Diff example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Rex; | |
use Rex::Hook::File::Diff; | |
task 'diff_example', sub { | |
file '/tmp/diff.example', | |
content => gmtime(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment