summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 6609c0e..404e661 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,5 @@
require 'jekyll'
+require 'html-proofer'
task :default => [:buildsite]
@@ -19,6 +20,12 @@ task :clean do
Jekyll::Commands::Clean.process({})
end
+desc 'Test the site using html-proofer'
+task :testsite => [:buildsite] do
+ options = { :assume_extension => true, :disable_external => true }
+ HTMLProofer.check_directory("./_site", options).run
+end
+
namespace :deploy do
desc "Deploy via SSH"
task :ssh => [:buildsite] do