提交 50f7c9a9 编写于 作者: D David Heinemeier Hansson

Load rake task files in alphabetical order so you can build dependencies and...

Load rake task files in alphabetical order so you can build dependencies and count on them (closes #2554) [Blair Zajac]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 85a78926
*SVN*
* Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac]
*0.14.2 (RC3)* (October 26th, 2005)
* Constants set in the development/test/production environment file are set in Object
......
......@@ -4,5 +4,5 @@
Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext }
# Load any custom rakefile extensions
Dir["./lib/tasks/**/*.rake"].each { |ext| load ext }
Dir["./vendor/plugins/*/tasks/**/*.rake"].each { |ext| load ext }
\ No newline at end of file
Dir["./lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["./vendor/plugins/*/tasks/**/*.rake"].sort.each { |ext| load ext }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册