diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |