mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
b9cae60e85
commit
2a8e33872b
4 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
|
||||
|
||||
* Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is defined.
|
||||
|
||||
* Allow the --toggle-spin switch on process/reaper to be negated
|
||||
|
|
|
@ -26,7 +26,7 @@ RUBY_FORGE_USER = "webster132"
|
|||
# end
|
||||
|
||||
|
||||
BASE_DIRS = %w( app config/environments components db doc log lib public script script/process test vendor )
|
||||
BASE_DIRS = %w( app config/environments config/tasks components db doc log lib public script script/process test vendor )
|
||||
APP_DIRS = %w( apis models controllers helpers views views/layouts )
|
||||
PUBLIC_DIRS = %w( images javascripts stylesheets )
|
||||
TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/test )
|
||||
|
|
|
@ -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 }
|
||||
|
|
|
@ -106,6 +106,7 @@ class AppGenerator < Rails::Generator::Base
|
|||
app/models
|
||||
app/views/layouts
|
||||
config/environments
|
||||
config/tasks
|
||||
components
|
||||
db
|
||||
doc
|
||||
|
|
Loading…
Reference in a new issue