Sha256: aaa876e3be4f38122dcf722b43625cda6be4d1d8990b4b60eaad99d928311124

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

#!/usr/bin/env watchr

begin
  require File.join(ENV["HOME"], ".watchr.test.rb")
rescue LoadError
  warn "Unable to load #{File.join(ENV["HOME"], ".watchr.test.rb")}"
  warn "You might try this: http://gist.github.com/raw/273574/8804dff44b104e9b8706826dc8882ed985b4fd13/.watchr.test.rb"
  exit
end

run_tests

watch('test/test_.*\.rb')  {|md| run md[0] }
watch('lib/(.*)\.rb')      {|md| run "test/test_#{underscore(md[1])}.rb" }
watch('test/helper.rb')    { run_tests }

watch('VERSION') do
  puts "Building gem"
  system "rake build"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
valuedate-0.0.4 test.watchr
valuedate-0.0.3 test.watchr
valuedate-0.0.2 test.watchr