Skip to content

@DougHall /Guardfile
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple guardfile
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
require 'guard/guard'
module ::Guard
class CalGuard < ::Guard::Guard
def print_me(paths)
paths.each do |filepath|
puts filepath
end
end
def run_on_change(paths)
print_me(paths)
end
def run_on_deletion(paths)
print_me(paths)
end
end
end
guard 'calguard' do
ignore_paths 'wi'
watch %r{^.+\.ics$}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.