Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (23 sloc) 0.786 kb
409c4cd @bernerdschaefer Remove constant redefined warnings in suite
bernerdschaefer authored
1 require 'rubygems'
19e1ffc @bernerdschaefer Update to rspec2
bernerdschaefer authored
2 require 'rspec/core/rake_task'
4533ebf @joliss Add cucumber rake task, and run it in default task
joliss authored
3 require 'cucumber/rake/task'
409c4cd @bernerdschaefer Remove constant redefined warnings in suite
bernerdschaefer authored
4 require 'yard'
5
6 desc "Run all examples"
d223d54 @jnicklas Move more of node functionality into subfolder
authored
7 RSpec::Core::RakeTask.new(:spec) do |t|
8 t.rspec_opts = %w[--color]
9 end
d49d3b7 Fix typos and whitespace
Jake Worth authored
10
d1ec92f @twalpole Add selenium with chrome to the travis test suite
twalpole authored
11 RSpec::Core::RakeTask.new(:spec_with_chrome) do |t|
12 t.rspec_opts = %w[--color]
d49d3b7 Fix typos and whitespace
Jake Worth authored
13 # jruby buffers the progress formatter so travis doesn't see output often enough
ac1cf04 @twalpole change rspec formatter under jruby so travis will see status
twalpole authored
14 t.rspec_opts << '--format documentation' if RUBY_PLATFORM=='java'
d1ec92f @twalpole Add selenium with chrome to the travis test suite
twalpole authored
15 t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_chrome.rb}'
16 end
409c4cd @bernerdschaefer Remove constant redefined warnings in suite
bernerdschaefer authored
17
18 YARD::Rake::YardocTask.new do |t|
0adcf04 @joliss Update gemspec and Rakefile for README.md and License.txt
joliss authored
19 t.files = ['lib/**/*.rb']
a4b694b @abotalov Allow to use markdown in yard docs and write better documentation for se...
abotalov authored
20 t.options = %w(--markup=markdown)
409c4cd @bernerdschaefer Remove constant redefined warnings in suite
bernerdschaefer authored
21 end
22
4533ebf @joliss Add cucumber rake task, and run it in default task
joliss authored
23 Cucumber::Rake::Task.new(:cucumber) do |task|
24 task.cucumber_opts = ['--format=progress', 'features']
25 end
26
d1ec92f @twalpole Add selenium with chrome to the travis test suite
twalpole authored
27 task :travis => [:spec_with_chrome, :cucumber]
28
4533ebf @joliss Add cucumber rake task, and run it in default task
joliss authored
29 task :default => [:spec, :cucumber]
Something went wrong with that request. Please try again.