Sha256: 510ce7545b5a2b85e05ad594b07edaf1335cb23d136ad12dc03b9c29c6fca665

Contents?: true

Size: 550 Bytes

Versions: 22

Compression:

Stored size: 550 Bytes

Contents

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

task default: ["test:unit", "test:integration", "style:check"]

namespace :test do
  RSpec::Core::RakeTask.new(:unit) do |task|
    task.pattern = "./spec/unit{,/*/**}/*_spec.rb"
  end

  RSpec::Core::RakeTask.new(:integration) do |task|
    task.pattern = "./spec/integration{,/*/**}/*_spec.rb"
  end
end

namespace :style do
  require "rubocop/rake_task"

  desc "Run RuboCop on the lib directory"
  RuboCop::RakeTask.new(:check) do |task|
    task.options = ["--auto-correct"]
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
mutiny-0.3.0 Rakefile
metamorpher-0.2.6 Rakefile
mutiny-0.2.8 Rakefile
metamorpher-0.2.5 Rakefile
metamorpher-0.2.4 Rakefile
mutiny-0.2.7 Rakefile
mutiny-0.2.6 Rakefile
mutiny-0.2.5 Rakefile
mutiny-0.2.4 Rakefile
mutiny-0.2.3 Rakefile
mutiny-0.2.2 Rakefile
mutiny-0.2.1 Rakefile
metamorpher-0.2.3 Rakefile
mutiny-0.2.0 Rakefile
mutiny-0.1.0 Rakefile
metamorpher-0.2.2 Rakefile
metamorpher-0.2.1 Rakefile
metamorpher-0.2.0 Rakefile
metamorpher-0.1.1 Rakefile
rdg-0.1.0 Rakefile