aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorCassioMarques <cassiommc@gmail.com>2009-01-18 21:56:10 -0200
committerCassioMarques <cassiommc@gmail.com>2009-01-18 21:56:10 -0200
commit72d2a64f63b2325e46318d2d9096954c6f391861 (patch)
tree4781af68d239a102b3ef4c0fc9136e9b4a8fff8c /railties/Rakefile
parent986a7c620c8e1e2839fbc8f5727470aa23c195c4 (diff)
downloadrails-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/Rakefile4
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