1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

run html-proofing as part of travis build

This commit is contained in:
Aidan Feldman 2013-10-23 00:23:57 -07:00
parent b5ff5db785
commit d0f2cc3424
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
require "html/proofer" require "html/proofer"
task :test do task :test do
sh "bundle exec jekyll build" sh "bundle exec jekyll build --trace"
# ignore href="#" for the "Copy to clipboard" button # ignore href="#" for the "Copy to clipboard" button
HTML::Proofer.new("./_site", :href_ignore => ["#"]).run HTML::Proofer.new("./_site", :href_ignore => ["#"]).run
end end

View File

@ -6,4 +6,4 @@ echo "compiling javascript..."
./node_modules/.bin/coffee -c javascripts/app.coffee ./node_modules/.bin/coffee -c javascripts/app.coffee
echo "building the site..." echo "building the site..."
bundle exec jekyll build --trace bundle exec rake test