forked from ELIXIR-Belgium/seek
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
21 lines (19 loc) · 650 Bytes
/
Copy pathRakefile
File metadata and controls
21 lines (19 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true
require 'html-proofer'
task :test do
sh 'bundle exec jekyll build'
options = {
alt_ignore: [/.*/], # don't worry about images without an alt tag
url_ignore: [
/http(s)?:\/\/localhost.*/, # ignore links to localhost, which are shown when walking through the installation
/https:\/\/www.nationalarchives.gov.uk.*/,
/https:\/\/bitbucket.org\/fairdom\/seek\/downloads\/seek*/,
/https:\/\/jira-bsse.ethz.ch\/browse*/ # the old Jira has gone
],
typhoeus: {
ssl_verifypeer: false,
ssl_verifyhost: 0
}
}
HTMLProofer.check_directory('./_site', options).run
end