Skip to content

Commit 7675ce8

Browse files
committed
simplify test ops
1 parent 0709a45 commit 7675ce8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Rakefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@ require 'yaml'
77
namespace :wax do
88
desc 'run default html-proofer tests'
99
task :test do
10-
sh "rm -rf _site .jekyll*"
10+
sh "bundle exec jekyll clean"
1111
sh "bundle exec jekyll build -b '#{@baseurl}' -d '_site#{@baseurl}'"
1212
opts = {
13-
check_external_hash: true,
1413
allow_hash_href: true,
15-
check_html: true,
16-
disable_external: true,
17-
empty_alt_ignore: true,
1814
assume_extension: true,
19-
only_4xx: true
2015
}
2116
HTMLProofer.check_directory('./_site', opts).run
2217
end

0 commit comments

Comments
 (0)