diff --git a/.gitignore b/.gitignore index 5c91b60..17e5238 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ _site/ .sass-cache/ .jekyll-metadata +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..15db6c5 --- /dev/null +++ b/Gemfile @@ -0,0 +1,9 @@ +source 'https://rubygems.org' + +require 'json' +require 'open-uri' +versions = JSON.parse(open('https://pages.github.com/versions.json').read) + +gem 'github-pages', versions['github-pages'] +gem 'html-proofer' # travis CI per: http://jekyllrb.com/docs/continuous-integration/ +gem 'scss_lint' # travis CI per: http://jekyllrb.com/docs/continuous-integration/ diff --git a/script/cibuild b/script/cibuild new file mode 100755 index 0000000..cda9409 --- /dev/null +++ b/script/cibuild @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -e # halt script on error + +bundle exec jekyll build +# htmlproofer tests—[README](https://github.com/gjtorikian/html-proofer/blob/master/README.md) +bundle exec htmlproofer --disable-external ./_site