Skip to content

Commit

Permalink
Merge pull request #45 from cyberious/master
Browse files Browse the repository at this point in the history
Add lint tasks
  • Loading branch information
cyberious committed Mar 17, 2014
2 parents 76363e7 + 388add5 commit a004db1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'rake'
require 'rspec/core/rake_task'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'

task :default => [:test]

Expand All @@ -15,3 +16,6 @@ RSpec::Core::RakeTask.new(:coverage) do |t|
t.rcov = true
t.rcov_opts = ['--exclude', 'spec']
end


PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp","tests/**/*.pp"]

0 comments on commit a004db1

Please sign in to comment.