Sha256: 1213ac663e17c0e9a0451090ce03de3b4b7c70c9cbf44faa11857a58a237d987

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 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

  task :ci => :spec
rescue LoadError; end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-boxen-0.0.2 Rakefile