Sha256: 8b9bddcce46e0ef11659109d40f4233a53815e4ea45ddc8216e385be6d28bbde

Contents?: true

Size: 669 Bytes

Versions: 24

Compression:

Stored size: 669 Bytes

Contents

# encoding: utf-8

namespace :validate do

  desc 'Validate the site’s HTML files'
  task :html do
    Nanoc::CLI.run %w( validate_html )
  end

  desc 'Validate the site’s CSS files'
  task :css do
    Nanoc::CLI.run %w( validate_css )
  end

  namespace :links do

    desc 'Validate the site’s internal links'
    task :internal do
      Nanoc::CLI.run %w( validate_links --internal )
    end

    desc 'Validate the site’s external links'
    task :external do
      Nanoc::CLI.run %w( validate_links --external )
    end

  end

  desc 'Validate the site’s internal and external links'
  task :links do
    Nanoc::CLI.run %w( validate_links )
  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
nanoc-3.7.4 lib/nanoc/tasks/validate.rake
nanoc-3.7.3 lib/nanoc/tasks/validate.rake
nanoc-3.7.2 lib/nanoc/tasks/validate.rake
nanoc-3.7.1 lib/nanoc/tasks/validate.rake
nanoc-3.7.0 lib/nanoc/tasks/validate.rake
nanoc-3.6.11 lib/nanoc/tasks/validate.rake
nanoc-3.6.10 lib/nanoc/tasks/validate.rake
nanoc-3.6.9 lib/nanoc/tasks/validate.rake
nanoc-3.6.8 lib/nanoc/tasks/validate.rake
nanoc-3.6.7 lib/nanoc/tasks/validate.rake
nanoc-3.6.6 lib/nanoc/tasks/validate.rake
nanoc-3.6.5 lib/nanoc/tasks/validate.rake
nanoc-3.6.4 lib/nanoc/tasks/validate.rake
nanoc-3.6.3 lib/nanoc/tasks/validate.rake
nanoc-3.6.2 lib/nanoc/tasks/validate.rake
nanoc-3.6.1 lib/nanoc/tasks/validate.rake
nanoc-3.6.0 lib/nanoc/tasks/validate.rake
nanoc-3.5.0 lib/nanoc/tasks/validate.rake
nanoc-3.5.0b2 lib/nanoc/tasks/validate.rake
nanoc-3.5.0b1 lib/nanoc/tasks/validate.rake