Created
June 30, 2015 15:08
-
-
Save nsbingham/81b6519469109685ee4a to your computer and use it in GitHub Desktop.
Jekyll/HTML Proofer Rakefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/gjtorikian/html-proofer | |
# Add `gem 'html-proofer'` to your Gemfile | |
# Run `bundle` | |
# Create a file named `Rakefile` | |
# Paste the code below in it | |
# Run `rake test` from the commandline. Issues will be reported. | |
require 'html/proofer' | |
task :test do | |
sh "bundle exec jekyll build" | |
HTML::Proofer.new("./_site", { :check_favicon => true, :check_html => true }).run | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment