Sha256: 55bcf89e5c02d698cc97a41492073a735da291236f03b4384cd534af18f429ad

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

require 'bundler/gem_tasks'
begin
  require 'rspec/core/rake_task'
  require 'octorelease'
rescue LoadError
end

if defined?(RSpec)
  task spec: 'spec:all'
  namespace :spec do
    task all: ['spec:type', 'spec:generator']

    RSpec::Core::RakeTask.new(:type) do |t|
      t.pattern = 'spec/type/*_spec.rb'
    end

    RSpec::Core::RakeTask.new(:generator) do |t|
      t.pattern = 'spec/generator/*_spec.rb'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awspec-0.5.0 Rakefile
awspec-0.4.1 Rakefile
awspec-0.4.0 Rakefile