forked from stellar/xdrgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGuardfile
More file actions
12 lines (11 loc) · 681 Bytes
/
Guardfile
File metadata and controls
12 lines (11 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
guard :rspec, cmd: 'bundle exec rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
watch(%r{^lib/(.+)\.treetop$}) { "spec/lib/xdrgen/parser_spec.rb" }
watch(%r{^lib/(.+)_nodes\.rb$}) { "spec/lib/xdrgen/parser_spec.rb" }
watch(%r{^lib/xdrgen/generators/(.+)\.rb$}) { "spec/lib/xdrgen/generator_spec.rb" }
watch(%r{^spec/fixtures/parser/(.+)\.x$}) { "spec/lib/xdrgen/parser_spec.rb" }
watch(%r{^spec/fixtures/generator/(.+)\.x$}) { "spec/lib/xdrgen/generator_spec.rb" }
end