2011-10-27 23:36:53 +00:00
|
|
|
require 'rspec/core/rake_task'
|
|
|
|
|
2011-10-27 22:34:14 +00:00
|
|
|
task :autocompile do
|
|
|
|
system "coffee --compile --bare --watch " \
|
|
|
|
"--output lib/capybara/poltergeist/client/compiled " \
|
|
|
|
"lib/capybara/poltergeist/client/*.coffee"
|
|
|
|
end
|
2011-10-27 22:41:05 +00:00
|
|
|
|
2011-10-27 23:36:53 +00:00
|
|
|
RSpec::Core::RakeTask.new('test') do
|
2011-10-27 22:41:05 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
task :default => :test
|