summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-04-22 11:39:24 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-04-22 11:59:40 -0700
commit5a7b4a30fb75c58b7944b4a5612883e5470539de (patch)
treee7e5ecb8b4da94e4e3b15eb23493248af105853e /Rakefile
parentd12cffbdfd4c55b3ddeec45f5bcb30719a298c83 (diff)
downloadchef-5a7b4a30fb75c58b7944b4a5612883e5470539de.tar.gz
Run Pedant against local mode in Travis
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 2e0c203b49..b55ed8321b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -48,6 +48,10 @@ task :ship => :gem do
end
end
+task :pedant do
+ require File.expand_path('spec/support/pedant/run_pedant')
+end
+
begin
require 'yard'
DOC_FILES = [ "README.rdoc", "LICENSE", "spec/tiny_server.rb", "lib/**/*.rb" ]
@@ -63,5 +67,3 @@ begin
rescue LoadError
puts "yard is not available. (sudo) gem install yard to generate yard documentation."
end
-
-