You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Rakefile 986B

123456789101112131415161718192021222324252627282930313233
  1. require 'puppetlabs_spec_helper/rake_tasks'
  2. require 'puppet_blacksmith/rake_tasks'
  3. require 'voxpupuli/release/rake_tasks'
  4. require 'puppet-strings/tasks'
  5. PuppetLint.configuration.log_format = '%{path}:%{line}:%{check}:%{KIND}:%{message}'
  6. PuppetLint.configuration.fail_on_warnings = true
  7. PuppetLint.configuration.send('relative')
  8. PuppetLint.configuration.send('disable_140chars')
  9. PuppetLint.configuration.send('disable_class_inherits_from_params_class')
  10. PuppetLint.configuration.send('disable_documentation')
  11. PuppetLint.configuration.send('disable_single_quote_string_with_variables')
  12. exclude_paths = %w(
  13. pkg/**/*
  14. vendor/**/*
  15. .vendor/**/*
  16. spec/**/*
  17. )
  18. PuppetLint.configuration.ignore_paths = exclude_paths
  19. PuppetSyntax.exclude_paths = exclude_paths
  20. desc 'Run acceptance tests'
  21. RSpec::Core::RakeTask.new(:acceptance) do |t|
  22. t.pattern = 'spec/acceptance'
  23. end
  24. desc 'Run tests metadata_lint, release_checks'
  25. task test: [
  26. :metadata_lint,
  27. :release_checks,
  28. ]
  29. # vim: syntax=ruby