Skip to content

Commit

Permalink
Add html-proofer to find broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Aug 9, 2016
1 parent ae74ac2 commit d9ed14f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
source "https://rubygems.org"

gem "github-pages"
gem "rake"

group :test do
gem "rake"
gem "html-proofer"
end
13 changes: 13 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GEM
execjs
coffee-script-source (1.10.0)
colorator (0.1)
colored (1.2)
ethon (0.9.0)
ffi (>= 1.3.0)
execjs (2.7.0)
Expand Down Expand Up @@ -50,6 +51,15 @@ GEM
html-pipeline (2.4.2)
activesupport (>= 2)
nokogiri (>= 1.4)
html-proofer (3.0.6)
activesupport (~> 4.2)
addressable (~> 2.3)
colored (~> 1.2)
mercenary (~> 0.3.2)
nokogiri (~> 1.5)
parallel (~> 1.3)
typhoeus (~> 0.7)
yell (~> 2.0)
i18n (0.7.0)
jekyll (3.1.6)
colorator (~> 0.1)
Expand Down Expand Up @@ -102,6 +112,7 @@ GEM
pkg-config (~> 1.1.7)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
parallel (1.9.0)
pkg-config (1.1.7)
public_suffix (1.5.3)
rake (11.2.2)
Expand All @@ -120,12 +131,14 @@ GEM
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
yell (2.0.6)

PLATFORMS
ruby

DEPENDENCIES
github-pages
html-proofer
rake

BUNDLED WITH
Expand Down
3 changes: 3 additions & 0 deletions script/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo "==> Building the site…"
bundle exec jekyll build --baseurl '' $@
2 changes: 2 additions & 0 deletions script/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

set -e

script/build
bundle exec rake
bundle exec htmlproofer _site

0 comments on commit d9ed14f

Please sign in to comment.