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

Version Path
awspec-0.66.1 Rakefile
awspec-0.66.0 Rakefile
awspec-0.65.2 Rakefile
awspec-0.65.1 Rakefile
awspec-0.65.0 Rakefile
awspec-0.64.0 Rakefile
awspec-0.63.1 Rakefile
awspec-0.63.0 Rakefile
awspec-0.62.1 Rakefile
awspec-0.62.0 Rakefile
awspec-0.61.1 Rakefile
awspec-0.61.0 Rakefile
awspec-0.60.1 Rakefile
awspec-0.60.0 Rakefile
awspec-0.59.0 Rakefile
awspec-0.58.0 Rakefile
awspec-0.57.1 Rakefile
awspec-0.57.0 Rakefile
awspec-0.56.1 Rakefile
awspec-0.56.0 Rakefile