Permalink
Browse files

Add puppet-lint to the rake test task

  • Loading branch information...
1 parent 2a190f8 commit bcde42434a34fb1ea9ff3837bffabb5c6df9f679 @rodjek committed Mar 2, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 Rakefile
View
@@ -2,13 +2,16 @@ require 'rake'
begin
require 'rspec/core/rake_task'
+ require 'puppet-lint/tasks/puppet-lint'
rescue LoadError
require 'rubygems'
retry
end
-RSpec::Core::RakeTask.new(:test) do |t|
+RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/*/*_spec.rb'
end
+task :test => [:spec, :lint]
+
task :default => :test

0 comments on commit bcde424

Please sign in to comment.