File: htmlproofer

package info (click to toggle)
ruby-html-proofer 5.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,524 kB
  • sloc: ruby: 4,389; sh: 8; makefile: 4; javascript: 1; php: 1
file content (17 lines) | stat: -rwxr-xr-x 316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env ruby
# frozen_string_literal: true

$stdout.sync = true

$LOAD_PATH.unshift("#{__dir__}/../lib")

require "html-proofer"
require "benchmark"

exit_status = -1
cli = HTMLProofer::CLI.new

time = Benchmark.realtime { exit_status = cli.run }

puts "Finished in #{time.round(2)} seconds"
exit exit_status