Sha256: 7430bb578d32e63caf2812ca801151cd2569ed2b57069bc73851f6a4b7a4512d
Contents?: true
Size: 729 Bytes
Versions: 4
Compression:
Stored size: 729 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require "rdoc/task" require "rubocop/rake_task" require "rspec/core/rake_task" RuboCop::RakeTask.new namespace :spec do desc 'Clean all generated reports' task :clean do system('rm -rf spec/reports') end RSpec::Core::RakeTask.new(all: :clean) do |config| options = %w[--color] options += %w[--format documentation] options += %w[--format html --out spec/reports/unit-test-report.html] config.rspec_opts = options end end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'doc' rdoc.main = 'README.md' rdoc.title = "DataReader #{DataReader::VERSION}" rdoc.rdoc_files.include('README*', 'lib/**/*.rb') end task default: ['spec:all', :rubocop]
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
data_reader-1.3.0 | Rakefile |
data_reader-1.2.0 | Rakefile |
data_reader-1.1.0 | Rakefile |
data_reader-1.0.2 | Rakefile |