mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 20:30:10 +01:00
run html-proofing as part of travis build
This commit is contained in:
parent
b5ff5db785
commit
d0f2cc3424
2
Rakefile
2
Rakefile
@ -1,7 +1,7 @@
|
||||
require "html/proofer"
|
||||
|
||||
task :test do
|
||||
sh "bundle exec jekyll build"
|
||||
sh "bundle exec jekyll build --trace"
|
||||
# ignore href="#" for the "Copy to clipboard" button
|
||||
HTML::Proofer.new("./_site", :href_ignore => ["#"]).run
|
||||
end
|
||||
|
@ -6,4 +6,4 @@ echo "compiling javascript..."
|
||||
./node_modules/.bin/coffee -c javascripts/app.coffee
|
||||
|
||||
echo "building the site..."
|
||||
bundle exec jekyll build --trace
|
||||
bundle exec rake test
|
||||
|
Loading…
x
Reference in New Issue
Block a user