From 4c4abb1ba78af40e897e70dcf6c3693fab8e93b2 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 26 May 2016 10:20:54 +0200 Subject: modulesync 0.6.3 --- Rakefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 0ffcb86..56ffc74 100644 --- a/Rakefile +++ b/Rakefile @@ -1,12 +1,13 @@ require 'puppetlabs_spec_helper/rake_tasks' -require 'puppet-lint/tasks/puppet-lint' -require 'puppet-syntax/tasks/puppet-syntax' -require 'metadata-json-lint/rake_task' require 'puppet_blacksmith/rake_tasks' require 'voxpupuli/release/rake_tasks' require 'rubocop/rake_task' +require 'puppet-strings/rake_tasks' -RuboCop::RakeTask.new +RuboCop::RakeTask.new(:rubocop) do |task| + # These make the rubocop experience maybe slightly less terrible + task.options = ['-D', '-S', '-E'] +end PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{check}:%{KIND}:%{message}' PuppetLint.configuration.fail_on_warnings = true @@ -19,6 +20,7 @@ PuppetLint.configuration.send('disable_single_quote_string_with_variables') exclude_paths = %w( pkg/**/* vendor/**/* + .vendor/**/* spec/**/* ) PuppetLint.configuration.ignore_paths = exclude_paths @@ -29,10 +31,11 @@ RSpec::Core::RakeTask.new(:acceptance) do |t| t.pattern = 'spec/acceptance' end -desc 'Run metadata_lint, lint, syntax, and spec tests.' +desc 'Run tests metadata_lint, lint, syntax, spec' task test: [ :metadata_lint, :lint, :syntax, :spec, ] +# vim: syntax=ruby -- cgit v1.2.3