Sha256: 6eb625add9291bedd98c4f7d72e17361b2336d7a3ba42f04e5572e2127f15562
Contents?: true
Size: 737 Bytes
Versions: 3
Compression:
Stored size: 737 Bytes
Contents
require 'rspec/core/rake_task' require 'quality/rake/task' require 'bundler/gem_tasks' Quality::Rake::Task.new do |task| task.skip_tools = ['reek'] task.output_dir = 'metrics' end desc 'Run specs' RSpec::Core::RakeTask.new(:spec) do |task| task.pattern = 'spec/**/*_spec.rb' task.rspec_opts = '--format doc' end desc 'Run features' RSpec::Core::RakeTask.new(:feature) do |task| task.pattern = 'feature/**/*_spec.rb' task.rspec_opts = "--format doc" end task :clear_metrics do |_t| ret = system('git checkout coverage/.last_run.json metrics/*_high_water_mark') fail unless ret end desc 'Default: Run specs and check quality.' task localtest: [:clear_metrics, :spec, :feature, :quality] task default: [:localtest]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bigfiles-0.0.3 | Rakefile |
bigfiles-0.0.2 | Rakefile |
bigfiles-0.0.1 | Rakefile |