diff options
author | Ben S <juniorsysadmin@users.noreply.github.com> | 2016-05-26 21:54:02 +1000 |
---|---|---|
committer | Ben S <juniorsysadmin@users.noreply.github.com> | 2016-05-26 21:54:02 +1000 |
commit | be7dbe987bf1c6820f14e1b4bb59438a58490dac (patch) | |
tree | 8e16abc3c2c537de3363d837c5e4145e6bef39bf /Rakefile | |
parent | 9c9c140ce32395afcf8d9b5d8e4f92e4e3bb3007 (diff) | |
parent | e1d77b8a7983c231af90c0ed1438de7f58a48d5c (diff) |
Merge pull request #60 from voxpupuli/modulesync
modulesync 0.6.3 + release 2.0.0
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |