Skip to content

Instantly share code, notes, and snippets.

@ferki
Created November 30, 2020 18:34
Show Gist options
  • Save ferki/5ff97e1e6a5d6c8aadcb1db46a9f3cf4 to your computer and use it in GitHub Desktop.
Save ferki/5ff97e1e6a5d6c8aadcb1db46a9f3cf4 to your computer and use it in GitHub Desktop.
Rex::Hook::File::Diff example
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