diff --git a/examples/simple-stdout/.emory b/examples/simple-stdout/.emory new file mode 100644 index 0000000..e739ca2 --- /dev/null +++ b/examples/simple-stdout/.emory @@ -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 diff --git a/examples/simple-stdout/src/.gitkeep b/examples/simple-stdout/src/.gitkeep new file mode 100644 index 0000000..e69de29