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:
parent
b5ff5db785
commit
d0f2cc3424
2
Rakefile
2
Rakefile
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user