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

Version Path
candy-0.2.10 spec/spec.watchr
candy-0.2.9 spec/spec.watchr
candy-0.2.8 spec/spec.watchr
candy-0.2.7 spec/spec.watchr
candy-0.2.6 spec/spec.watchr
candy-0.2.5 spec/spec.watchr
candy-0.2.4 spec/spec.watchr
candy-0.2.3 spec/spec.watchr
candy-0.2.2 spec/spec.watchr
candy-0.2.1 spec/spec.watchr
candy-0.1.0 spec/spec.watchr
candy-0.0.2 spec/spec.watchr
candy-0.0.1 spec/spec.watchr
candygram-0.1.0 spec/spec.watchr