Sha256: e21317d797aeda70d11f0919eb27fad4e07bd9023e24d12d0bd30daf84242ee5

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 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

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-4.0.0a2 lib/nanoc/tasks/validate.rake
nanoc-4.0.0a1 lib/nanoc/tasks/validate.rake
nanoc-3.8.0 lib/nanoc/tasks/validate.rake
nanoc-3.7.5 lib/nanoc/tasks/validate.rake