-
-
Notifications
You must be signed in to change notification settings - Fork 220
Expand file tree
/
Copy pathRakefile
More file actions
16 lines (12 loc) · 585 Bytes
/
Rakefile
File metadata and controls
16 lines (12 loc) · 585 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# == Dependencies ==============================================================
require 'rake'
require 'html/proofer'
# == Configuration =============================================================
# Set "rake watch" as default task
task :default => :test
# rake test
desc "build and test website"
task :test do
sh "bundle exec jekyll build"
HTML::Proofer.new("./_site", {:url_ignore=> ["#", "/events/", "/jobs/",/^https:\/\/botbot\.me\/freenode\/opensourcedesign\/[\w\/]*/], :typhoeus => { :followlocation => true, :headers => { 'User-Agent' => 'html-proofer' } }}).run
end