Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 351 Bytes
require 'autotest/fsevent' if RUBY_PLATFORM =~ /darwin/
Autotest.add_hook :initialize do |at|
at.add_mapping(/.*\.[ch]$/) do |f, _|
at.files_matching(/native_spec\.rb$/)
at.files_matching(/options_spec\.rb$/)
at.files_matching(/model_spec\.rb$/)
end
end
Autotest.add_hook :run_command do |at|
system 'bundle exec rake compile'
end