Guardfile in registrable-0.1.0 vs Guardfile in registrable-0.2.0
- old
+ new
@@ -16,9 +16,12 @@
watch(/.+\.rb$/)
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end
guard :yard, server: false do
- watch(/^(README|LICENSE|CODE_OF_CONDUCT)/)
watch(%r{lib\/.+\.rb})
watch(/.yardopts/)
+end
+
+guard :shell do
+ watch(%r{templates/(.+)\.erb}) { |match| `rake #{match[1]}` }
end