Sha256: 9cdfb0d7c45ca7924f2a0ff553c7f09f9592672adc77eea932766c68d372f7e6
Contents?: true
Size: 866 Bytes
Versions: 54
Compression:
Stored size: 866 Bytes
Contents
require 'bundler/gem_tasks' begin require 'rspec/core/rake_task' require 'octorelease' rescue LoadError end require 'awspec' types = Awspec::Helper::Type::TYPES.map do |type| 'spec:' + type end if defined?(RSpec) task spec: 'spec:all' namespace :spec do task all: ['spec:type', 'spec:core', 'spec:generator_spec', 'spec:generator_doc'] task type: types Awspec::Helper::Type::TYPES.map do |type| RSpec::Core::RakeTask.new(type) do |t| t.pattern = 'spec/type/' + type + '_spec.rb' end end RSpec::Core::RakeTask.new(:core) do |t| t.pattern = 'spec/core/*_spec.rb' end RSpec::Core::RakeTask.new(:generator_spec) do |t| t.pattern = 'spec/generator/spec/*_spec.rb' end RSpec::Core::RakeTask.new(:generator_doc) do |t| t.pattern = 'spec/generator/doc/*_spec.rb' end end end
Version data entries
54 entries across 54 versions & 1 rubygems