File: build-site.rake

package info (click to toggle)
ruby-jekyll-multiple-languages 1.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,376 kB
  • sloc: ruby: 312; javascript: 12; sh: 5; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require "html-proofer"

task :default => [:test]

desc "Run HTMLProofer"
task :test do
  cd "example" do
    sh "jekyll build"
    options = { empty_alt_ignore: true, enforce_https: true }
    HTMLProofer.check_directory("./_site", options).run
  end
end