Sha256: 14d77c90f130f0b38abf4ea1cce74c28e5a5f839d75f52240b7e4a13c9d5b14d

Contents?: true

Size: 428 Bytes

Versions: 5

Compression:

Stored size: 428 Bytes

Contents

require 'rake'
require 'rspec/core/rake_task'

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

task :default => :spec

task :modspec do
    FileList["static-modules/**/Rakefile"].each do |project|
        Rake::Task.clear
        load project
        dir = project.pathmap("%d")
        Dir.chdir(dir) do
          spec_task = Rake::Task[:spec]
          spec_task.invoke()
        end
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opskeleton-0.6.3 templates/chef/Rakefile
opskeleton-0.6.2 templates/chef/Rakefile
opskeleton-0.6.0 templates/chef/Rakefile
opskeleton-0.5.3 templates/chef/Rakefile
opskeleton-0.5.2 templates/chef/Rakefile