File: Guardfile

package info (click to toggle)
ruby-guard-shell 0.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 96 kB
  • sloc: ruby: 104; makefile: 3
file content (6 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
# Add files and commands to this file, like the example:
#   watch(%r{file/path}) { `command(s)` }
#
guard :shell do
  watch(/(.*).txt/) {|m| `tail #{m[0]}` }
end