-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a very basic example, emitting file changes to STDOUT.
- Loading branch information
Scott Askew
committed
May 31, 2012
1 parent
c2c54c2
commit 7ff9c25
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'emory/handlers/stdout_handler' | ||
|
||
# Define a handler emits any file add/modify/delete in ./src to STDOUT. | ||
handler do | ||
name :stdout | ||
implementation Emory::Handlers::StdoutHandler | ||
events :all | ||
end | ||
|
||
# Map ./src to the handler defined above. Note that the 'path' is relative | ||
# to the location .emory (i.e. this file) | ||
teleport do | ||
path 'src' | ||
handler :stdout | ||
end |
Empty file.