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.55.0 Rakefile
awspec-0.54.0 Rakefile
awspec-0.52.4 Rakefile
awspec-0.52.3 Rakefile
awspec-0.52.2 Rakefile
awspec-0.52.1 Rakefile
awspec-0.52.0 Rakefile
awspec-0.51.0 Rakefile
awspec-0.50.0 Rakefile
awspec-0.49.0 Rakefile
awspec-0.48.0 Rakefile
awspec-0.47.0 Rakefile
awspec-0.46.0 Rakefile
awspec-0.45.0 Rakefile
awspec-0.44.0 Rakefile
awspec-0.43.0 Rakefile
awspec-0.42.0 Rakefile
awspec-0.41.0 Rakefile
awspec-0.40.0 Rakefile
awspec-0.39.0 Rakefile