removing log dir from .gitignore
[monkeycharger.git] / vendor / rails / railties / lib / tasks / pre_namespace_aliases.rake
blobf7b84d59f1167eb5fca1a186e2124067e7b7e221
1 def deprecated_task(name, new_name)
2   task name=>new_name do 
3     $stderr.puts "The rake task #{name} has been deprecated, please use the replacement version #{new_name}"
4   end
5 end
8 # clear
9 deprecated_task :clear_logs, "log:clear"
11 # test
12 deprecated_task :recent,          "test:recent"
13 deprecated_task :test_units,      "test:units"
14 deprecated_task :test_functional, "test:functionals"
15 deprecated_task :test_plugins,    "test:plugins"
18 # doc
19 deprecated_task :appdoc,            "doc:app"
20 deprecated_task :apidoc,            "doc:rails"
21 deprecated_task :plugindoc,         "doc:plugins"
22 deprecated_task :clobber_plugindoc, "doc:clobber_plugins"
24 FileList['vendor/plugins/**'].collect { |plugin| File.basename(plugin) }.each do |plugin|
25   deprecated_task :"#{plugin}_plugindoc", "doc:plugins:#{plugin}"
26 end
29 # rails
30 deprecated_task :freeze_gems,        "rails:freeze:gems"
31 deprecated_task :freeze_edge,        "rails:freeze:edge"
32 deprecated_task :unfreeze_rails,     "rails:unfreeze"
33 deprecated_task :add_new_scripts,    "rails:update:scripts"
34 deprecated_task :update_javascripts, "rails:update:javascripts"
37 # db
38 deprecated_task :migrate,       "db:migrate"
39 deprecated_task :load_fixtures, "db:fixtures:load"
41 deprecated_task :db_schema_dump,   "db:schema:dump"
42 deprecated_task :db_schema_import, "db:schema:load"
44 deprecated_task :db_structure_dump, "db:structure:dump"
46 deprecated_task :purge_test_database,     "db:test:purge"
47 deprecated_task :clone_schema_to_test,    "db:test:clone"
48 deprecated_task :clone_structure_to_test, "db:test:clone_structure"
49 deprecated_task :prepare_test_database,   "db:test:prepare"
51 deprecated_task :create_sessions_table, "db:sessions:create"
52 deprecated_task :drop_sessions_table,   "db:sessions:drop"
53 deprecated_task :purge_sessions_table,  "db:sessions:recreate"