attentive/Guardfile

34 lines
527 B
Plaintext
Raw Normal View History

2012-03-13 17:20:57 +00:00
require 'guard'
require 'guard/guard'
require 'flowerbox'
class ::Guard::FlowerboxUnit < ::Guard::Guard
def run_all
::Flowerbox.run('spec/javascripts')
end
def run_on_change(files)
run_all
end
end
class ::Guard::FlowerboxIntegration < ::Guard::Guard
def run_all
::Flowerbox.run('js-features')
end
def run_on_change(files)
run_all
end
end
guard 'flowerbox-unit' do
watch(%r{^spec/javascripts})
end
2012-03-16 02:49:16 +00:00
guard 'flowerbox-integration', :verbose_server => true do
2012-03-13 17:20:57 +00:00
watch(%r{^js-features})
end