Guardfile in acumatica-0.3.0 vs Guardfile in acumatica-0.4.0
- old
+ new
@@ -12,5 +12,10 @@
# Ruby files
ruby = dsl.ruby
dsl.watch_spec_files_for(ruby.lib_files)
end
+
+guard :rubocop do
+ watch(/.+\.rb$/)
+ watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
+end