Sha256: 54e0331a86de9232501ad15bfbd8b6aa369eacdfe0ba9b1a47abbe8df7add785

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

#!/usr/bin/env ruby
=begin

TESTR-HERALD 1 "2012-01-09" "14.1.2"
====================================

NAME
----

testr-herald - reports modified files

SYNOPSIS
--------

`testr-herald` [*OPTION*]...

DESCRIPTION
-----------

This program monitors the current working directory and prints relative paths
of modified files, one per line, to the standard output stream.

OPTIONS
-------

`-h`, `--help`
  Display this help manual using man(1).

SEE ALSO
--------

testr(1), testr-driver(1), testr-master(1), testr-herald(1)

=end =========================================================================

$0 = File.basename(__FILE__)

require 'binman'
BinMan.help

require 'guard'
require 'guard/listener'

listener = Guard::Listener.select_and_init
listener.on_change {|files| puts files }
STDOUT.sync = true # don't buffer puts()
listener.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testr-14.1.2 bin/testr-herald