Sha256: 23f3a974a6b1d46d3993f89034942d7ea9f90f6ef7e526fa66898259a0e8d5c3

Contents?: true

Size: 711 Bytes

Versions: 27

Compression:

Stored size: 711 Bytes

Contents

#!/usr/bin/env ruby
require 'bundler/gem_tasks'
require 'rake/clean'
require 'rake/testtask'
require 'yard'

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

Bundler::GemHelper.install_tasks

desc "Run all of the tests"
Rake::TestTask.new do |config|
  config.libs << 'test'
  config.pattern = 'test/**/*_test*'
  config.verbose = true
  config.warning = true
end

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 => [ :test, :yard ]

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
time-lord-1.0.1 Rakefile
termnote-2.0.1 Rakefile
termnote-2.0.0 Rakefile
termnote-1.5.1 Rakefile
termnote-1.5.0 Rakefile
termnote-1.1.0 Rakefile
termnote-1.0.0 Rakefile
authn-3.7.4 Rakefile
authn-3.7.2 Rakefile
authn-rails-1.7.3 Rakefile
authn-rails-1.7.2 Rakefile
authn-3.5.0 Rakefile
authn-rails-1.4.2 Rakefile
authn-3.1.4 Rakefile
authn-activation-1.8.2 Rakefile
authn-activation-1.7.0 Rakefile
authn-3.1.0 Rakefile
authn-2.6.0 Rakefile
authn-rails-1.3.2 Rakefile
authn-2.4.0 Rakefile