Sha256: 8a425cf092f74d1cc0c5178688b6fb5ccf41bb916a7e3d4da5bc30012a78cac5

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

require 'bundler/gem_tasks'
begin
  require 'rspec/core/rake_task'
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

5 entries across 5 versions & 1 rubygems

Version Path
awspec-0.3.0 Rakefile
awspec-0.2.3 Rakefile
awspec-0.2.2 Rakefile
awspec-0.2.1 Rakefile
awspec-0.2.0 Rakefile