Sha256: 1d69c08a8698d92184f5bec946f137bcfbf871ecf526d4410ef30b740b980bdf

Contents?: true

Size: 496 Bytes

Versions: 6

Compression:

Stored size: 496 Bytes

Contents

# encoding: utf-8

usage       'validate-html [options]'
aliases     :validate_html, :vhtml
summary     'validate the site’s HTML'
be_hidden
description <<-EOS
Validates the site’s HTML files.
EOS

module Nanoc::CLI::Commands

  class ValidateHTML < ::Nanoc::CLI::CommandRunner

    def run
      warn "The `validate-html` command is deprecated. Please use the new `check` command instead."
      Nanoc::CLI.run %w( check html )
    end

  end

end

runner Nanoc::CLI::Commands::ValidateHTML

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nanoc-3.6.7 lib/nanoc/cli/commands/validate-html.rb
nanoc-3.6.6 lib/nanoc/cli/commands/validate-html.rb
nanoc-3.6.5 lib/nanoc/cli/commands/validate-html.rb
nanoc-3.6.4 lib/nanoc/cli/commands/validate-html.rb
nanoc-3.6.3 lib/nanoc/cli/commands/validate-html.rb
nanoc-3.6.2 lib/nanoc/cli/commands/validate-html.rb