diff options
author | uvok cheetah | 2020-01-06 19:38:01 +0100 |
---|---|---|
committer | uvok cheetah | 2020-01-06 19:38:01 +0100 |
commit | bc9c6d6fb590ab714790c8b199d9b4b2b9e270c8 (patch) | |
tree | b956bc1f1686a0f200b59b9e98aa315c21ffdaf3 /Rakefile | |
parent | 508cdd60025756546409e70206a96a4c7af59ba2 (diff) |
Add html-proofer checks
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 |