Sha256: 0cf44de97984c1644aa574e6dd44180eb9ee0bb5d4ea42953040a1c1a3139582

Contents?: true

Size: 679 Bytes

Versions: 21

Compression:

Stored size: 679 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "yard"
require "redcarpet"

desc "run the specs"
RSpec::Core::RakeTask.new(:spec)

desc "run rspec showing backtrace"
RSpec::Core::RakeTask.new(:spec_trace) do |task|
  task.rspec_opts = ['--backtrace']
end

desc "run rspec stopping on first fail, and show backtrace"
RSpec::Core::RakeTask.new(:spec_fast) do |task|
  task.rspec_opts = ['--fail-fast', '--backtrace']
end

# default task name is yard
desc "Yard: generate all the documentation"
YARD::Rake::YardocTask.new(:doc) do |t|
  #t.files = ['lib/**/*.rb']
end

task :default     => [:spec]
task :rspec_trace => :spec_trace
task :rspec_fast  => :spec_fast

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ecoportal-api-0.8.5 Rakefile
ecoportal-api-0.8.4 Rakefile
ecoportal-api-0.8.3 Rakefile
ecoportal-api-0.8.2 Rakefile
ecoportal-api-0.7.5 Rakefile
ecoportal-api-0.7.4 Rakefile
ecoportal-api-0.7.3 Rakefile
ecoportal-api-0.7.2 Rakefile
ecoportal-api-0.7.1 Rakefile
ecoportal-api-0.7.0 Rakefile
ecoportal-api-0.6.0 Rakefile
ecoportal-api-0.5.8 Rakefile
ecoportal-api-0.5.7 Rakefile
ecoportal-api-0.5.6 Rakefile
ecoportal-api-0.5.5 Rakefile
ecoportal-api-0.5.3 Rakefile
ecoportal-api-0.5.1 Rakefile
ecoportal-api-0.5.0 Rakefile
ecoportal-api-0.4.3 Rakefile
ecoportal-api-0.4.2 Rakefile