Sha256: 25cab4934abf8572d85f5a0b187f8b6040a072d639640168f25a48f7222004b6
Contents?: true
Size: 376 Bytes
Versions: 14
Compression:
Stored size: 376 Bytes
Contents
# See: http://github.com/mynyml/watchr/ require 'redgreen' require 'autowatchr' Autowatchr.new(self) do |config| config.test_dir = 'spec' config.test_re = "^#{config.test_dir}/(.*)_spec\.rb$" config.test_file = '%s_spec.rb' end # watch ( 'spec/.*_spec\.rb' ) { |spec| system("ruby #{spec[0]}")} # watch ( 'lib/(.*).rb' ) { |lib| system("ruby spec/#{spec[1]}_spec.rb")}
Version data entries
14 entries across 14 versions & 2 rubygems