diff options
author | Jamis Buck <jamis@37signals.com> | 2005-08-31 09:15:09 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-08-31 09:15:09 +0000 |
commit | 2a8e33872b3b8f297cad50a2c5eaba3cbaeeaa1b (patch) | |
tree | dec868847df6bd0c82c33fce83927e51cbea9017 /railties/fresh_rakefile | |
parent | b9cae60e85f17e393dd4d8649f46c1ad2e0b21a4 (diff) | |
download | rails-2a8e33872b3b8f297cad50a2c5eaba3cbaeeaa1b.tar.gz rails-2a8e33872b3b8f297cad50a2c5eaba3cbaeeaa1b.tar.bz2 rails-2a8e33872b3b8f297cad50a2c5eaba3cbaeeaa1b.zip |
Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/fresh_rakefile')
-rwxr-xr-x | railties/fresh_rakefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index 34b0d24c4d..4e557d53ac 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -219,3 +219,6 @@ task :load_fixtures => :environment do Fixtures.create_fixtures('test/fixtures', File.basename(fixture_file, '.*')) end end + +# Load any custom rakefile extensions +Dir["./config/tasks/**/*.rake"].each { |ext| load ext } |