From 72d2a64f63b2325e46318d2d9096954c6f391861 Mon Sep 17 00:00:00 2001 From: CassioMarques Date: Sun, 18 Jan 2009 21:56:10 -0200 Subject: Changed the 'guides' Rake task to ignore Vim swap files during the HTML generation, removed active_record_basics.txt from the ignore list and generated initial HTML of it with previous contents. --- railties/Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/Rakefile') diff --git a/railties/Rakefile b/railties/Rakefile index be0f449efc..30d3748441 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -285,7 +285,7 @@ task :guides do asciidoc_conf = 'doc/guides/asciidoc.conf' ignore = ['..', 'icons', 'images', 'templates', 'stylesheets'] - ignore << 'active_record_basics.txt' + #ignore << 'active_record_basics.txt' indexless = ['index.txt', 'authors.txt'] @@ -301,7 +301,7 @@ task :guides do end entries.each do |entry| - next if ignore.include?(entry) + next if ignore.include?(entry) or entry =~ /^\./ # because Vim is always saving hidden swap files if File.directory?(File.join(source, entry)) # If the current entry is a directory, then we will want to compile -- cgit v1.2.3