diff options
author | CassioMarques <cassiommc@gmail.com> | 2009-01-18 21:56:10 -0200 |
---|---|---|
committer | CassioMarques <cassiommc@gmail.com> | 2009-01-18 21:56:10 -0200 |
commit | 72d2a64f63b2325e46318d2d9096954c6f391861 (patch) | |
tree | 4781af68d239a102b3ef4c0fc9136e9b4a8fff8c /railties/Rakefile | |
parent | 986a7c620c8e1e2839fbc8f5727470aa23c195c4 (diff) | |
download | rails-72d2a64f63b2325e46318d2d9096954c6f391861.tar.gz rails-72d2a64f63b2325e46318d2d9096954c6f391861.tar.bz2 rails-72d2a64f63b2325e46318d2d9096954c6f391861.zip |
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.
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |