diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-10-21 17:26:25 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-10-21 17:26:25 +0100 |
commit | 5ca4cacfd1b27b64100b0914d9c3c80ad79d1e7a (patch) | |
tree | 5d47df673ebcd2d19fcabc15956559daac8e95b5 /railties/Rakefile | |
parent | 4a7352401871fdc80297311f96e0684f5eadca4d (diff) | |
download | rails-5ca4cacfd1b27b64100b0914d9c3c80ad79d1e7a.tar.gz rails-5ca4cacfd1b27b64100b0914d9c3c80ad79d1e7a.tar.bz2 rails-5ca4cacfd1b27b64100b0914d9c3c80ad79d1e7a.zip |
Dont fetch images from internet
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 01be83fb35..59cbcf2322 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -299,7 +299,7 @@ task :guides do input = File.join(source, entry) output = File.join(html, entry).sub(/\.txt$/, '') end - + begin puts "GENERATING => #{output}" ENV['MANUALSONRAILS_TOC'] = 'no' if indexless.include?(entry) @@ -311,6 +311,10 @@ task :guides do ENV.delete('MANUALSONRAILS_TOC') end end + + # Copy images and css files to html directory. These dirs are in .gitigore and shouldn't be source controlled. + FileUtils.cp_r File.join(source, 'images'), File.join(html, 'images') + FileUtils.cp_r File.join(source, 'stylesheets'), File.join(html, 'stylesheets') end # Generate GEM ---------------------------------------------------------------------------- |