Sha256: 777d51250240b52fcd868c135284ee4e29da4242d24874a476ca93ffdeceb136

Contents?: true

Size: 880 Bytes

Versions: 1

Compression:

Stored size: 880 Bytes

Contents

#!/usr/bin/env ruby
=begin

TESTR-HERALD 1 "2012-01-13" "14.1.3"
====================================

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(:watch_all_modifications => true)
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.3 bin/testr-herald