Sha256: a1bb4eb6f94297e2e08ada533919162e96bce2cf3238f3133112a4c7f059ba93
Contents?: true
Size: 897 Bytes
Versions: 8
Compression:
Stored size: 897 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' require 'conventional_changelog' Dir.glob('lib/tasks/**/*.rake').each { |task| load "#{Dir.pwd}/#{task}" } Dir.glob('tasks/**/*.rake').each { |task| load "#{Dir.pwd}/#{task}" } RSpec::Core::RakeTask.new(:spec) do | task | task.rspec_opts = "--pattern spec/lib/**/*_spec.rb" end RSpec::Core::RakeTask.new('spec:providers') do | task | task.rspec_opts = "--pattern spec/service_providers/**/*_spec.rb" end # Must be run after spec:providers because it relies on the generated pact RSpec::Core::RakeTask.new('spec:integration') do | task | task.rspec_opts = "--pattern spec/integration/**/*_spec.rb" end task :default => [:spec, 'spec:providers', 'spec:integration'] task :generate_changelog do require 'pact_broker/client/version' ConventionalChangelog::Generator.new.generate! version: "v#{PactBroker::Client::VERSION}" end
Version data entries
8 entries across 8 versions & 1 rubygems