Sha256: 96637f1e6dacb08f04d0263bd579cb483af1c2386ed04980ff811646a98adc8a

Contents?: true

Size: 810 Bytes

Versions: 9

Compression:

Stored size: 810 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"
require "rubocop/rake_task"
require "yard"

namespace :test do
  Rake::TestTask.new :acceptance do |t|
    t.description = "Run acceptance tests"
    t.libs << "test"
    t.test_files = ["test/acceptance/test.rb"]
  end

  Rake::TestTask.new :unit do |t|
    t.description = "Run unit tests"
    t.libs << "test"
    t.test_files = FileList["test/**/*_test.rb"]
  end
end

desc "Run all tests"
task :test => ["test:unit", "test:acceptance"]

RuboCop::RakeTask.new do |t|
  t.formatters = ["fuubar"]
end

desc "Generate documentation"
YARD::Rake::YardocTask.new

namespace :yard do
  desc "Run documentation server"
  task :server do
    exec "bin/yard", "server", "--reload"
  end
end

task :default => ["test:unit", :rubocop]

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pg-aws_rds_iam-0.4.2 Rakefile
pg-aws_rds_iam-0.4.1 Rakefile
pg-aws_rds_iam-0.4.0 Rakefile
pg-aws_rds_iam-0.3.2 Rakefile
pg-aws_rds_iam-0.3.1 Rakefile
pg-aws_rds_iam-0.3.0 Rakefile
pg-aws_rds_iam-0.2.0 Rakefile
pg-aws_rds_iam-0.1.1 Rakefile
pg-aws_rds_iam-0.1.0 Rakefile