lib/nanoc/tasks/validate.rake in nanoc-3.7.4 vs lib/nanoc/tasks/validate.rake in nanoc-3.7.5
- old
+ new
@@ -1,9 +1,8 @@
# encoding: utf-8
namespace :validate do
-
desc 'Validate the site’s HTML files'
task :html do
Nanoc::CLI.run %w( validate_html )
end
@@ -11,24 +10,21 @@
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