Sha256: 596142023e3bc043c174793cb6cbffbfbaf889cbe43ef844417161feddbbcdf4

Contents?: true

Size: 530 Bytes

Versions: 42

Compression:

Stored size: 530 Bytes

Contents

#!/usr/bin/env rake
require "rspec/core/rake_task"
require "yard"

begin
  Bundler.setup :default, :development
  Bundler::GemHelper.install_tasks
rescue Bundler::BundlerError => error
  $stderr.puts error.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit error.status_code
end

RSpec::Core::RakeTask.new(:spec)

desc "Generate all of the docs"
YARD::Rake::YardocTask.new do |config|
  config.files = Dir["lib/**/*.rb"]
end

desc "Default: run tests and generate docs"
task :default => [ :spec, :yard ]

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
onebox-1.0.1 Rakefile
onebox-1.0.0 Rakefile