Sha256: 1ea3ab87cb0ce5f5f9f9d41b86f9e8fea8198ecac9b921a84d2948eeba45efdb
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 Bytes
Contents
#!/usr/bin/env rake # frozen_string_literal: true require 'bundler/gem_tasks' begin require 'rubocop/rake_task' require 'rspec/core/rake_task' desc 'Run Rubocop' RuboCop::RakeTask.new(:rubocop) desc 'Run Integration Tests' RSpec::Core::RakeTask.new(:integration) do |t| t.pattern = FileList["spec/integration/**/*#{ENV['PATTERN']}*_spec.rb"] end desc 'Run Unit Tests' RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = FileList["spec/lib/minty/**/*#{ENV['PATTERN']}*_spec.rb"] end desc 'Run All Suites' RSpec::Core::RakeTask.new(:all) desc 'Run unit and integration tests' task test: %i[spec integration] task default: %i[rubocop test] rescue LoadError puts 'Load Error - No RSpec' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minty-1.0.1 | Rakefile |
minty-1.0.0 | Rakefile |