Sha256: 3f3f215f2ea827743f4b68167bb781da696af5db92c80fff7d0bb630219d568e

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

require "bundler/gem_tasks"

task :update do
  require 'fileutils'
  sh 'librarian-puppet install --path="puppet/modules" --strip-dot-git --clean --verbose'
  Dir['./puppet/modules/*/{.git,.gitignore,tests,spec,Rakefile,.travis.yml}'].each do |path|
    FileUtils.rm_rf path
  end
end

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)

  desc 'Run specs with code coverage enabled'
  task :coverage do
    ENV['COVERAGE'] = 'true'
    Rake::Task["spec"].execute
  end

  task :default => :coverage
rescue LoadError; end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-boxen-0.0.1 Rakefile