Skip to content

Commit

Permalink
Add before/after hook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rdsubhas committed Jun 25, 2017
1 parent bf7c739 commit 3e1b060
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/hooks/myke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ desc: |-
these before/after dependencies get passed the full arguments of this task.
tasks:
before:
cmd: echo running before
before: echo running before
cmd: echo
after:
cmd: echo running after
cmd: echo
after: echo running after
error:
cmd: foobar
error: echo there was an error

0 comments on commit 3e1b060

Please sign in to comment.