Skip to content

Commit

Permalink
Removing html-proofer
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed Sep 8, 2015
1 parent 5e3c57d commit a3ddc52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ gem 'jekyll', '~> 2.4.0'
gem 'kramdown', '~> 1.3.1'

group :test do
gem 'html-proofer'
gem 'rake'
gem 'fastimage'
end
7 changes: 4 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ GEM
hitimes (1.2.2)
html-pipeline (1.9.0)
activesupport (>= 2)
nokogiri (~> 1.4)
html-proofer (2.1.0)
addressable (~> 2.3)
colored (~> 1.2)
mercenary (~> 0.3.2)
nokogiri (~> 1.4)
nokogiri (~> 1.5)
parallel (~> 1.3)
typhoeus (~> 0.6.7)
Expand Down Expand Up @@ -135,7 +134,9 @@ PLATFORMS
DEPENDENCIES
fastimage
github-pages (~> 28)
html-proofer
jekyll (~> 2.4.0)
kramdown (~> 1.3.1)
rake

BUNDLED WITH
1.10.6
28 changes: 1 addition & 27 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
require 'html/proofer'

task :default => [:verify, :test]
task :default => [:verify]

task :verify do
ruby "./verify.rb"
end

task :test do
begin
sh 'bundle exec jekyll build --drafts'
HTML::Proofer.new('./_site',
:parallel => { :in_threads => 8 },

:followlocation => true,

# Some certificates need this to pass
:ssl_verifypeer => false,

# Ignore 302 errors and 503's. Some sites use Cloudflare for DDOS
# protection and this causes 503's.
:only_4xx => true,

# For when we are feeling risky
#validate_html => true,
).run
rescue => e
# Don't fail the build, just output errors
puts e
end
end

0 comments on commit a3ddc52

Please sign in to comment.