Sha256: e19ae393c480a051c112333a48e89e12e813588b06883e9a9233656657c34421

Contents?: true

Size: 367 Bytes

Versions: 11

Compression:

Stored size: 367 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

namespace :spec do
  RSpec::Core::RakeTask.new(:unit) do |task|
    file_list = FileList['spec/**/*_spec.rb']

    task.pattern = file_list
  end

  task :coverage do
    ENV['COVERAGE'] = 'true'
    Rake::Task['spec:unit'].invoke
  end
end

task default: 'spec:unit'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hanami-cli-0.2.0 Rakefile
hanami-cli-0.2.0.rc2 Rakefile
hanami-cli-0.2.0.rc1 Rakefile
hanami-cli-0.2.0.beta2 Rakefile
hanami-cli-0.2.0.beta1 Rakefile
hanami-cli-0.1.1 Rakefile
hanami-cli-0.1.0 Rakefile
hanami-cli-0.1.0.rc1 Rakefile
hanami-cli-0.1.0.beta3 Rakefile
hanami-cli-0.1.0.beta2 Rakefile
hanami-cli-0.1.0.beta1 Rakefile