From 120649dc8302122e32fb2e57fe36246f4ecf878e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 15 Dec 2004 14:19:22 +0000 Subject: Moved generate to bin and included it again git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/Rakefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'railties/Rakefile') diff --git a/railties/Rakefile b/railties/Rakefile index 740c323aea..28d8e20f45 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -21,8 +21,7 @@ TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/testing LOG_FILES = %w( apache.log development.log test.log production.log ) HTML_FILES = %w( 404.html 500.html index.html ) -SCRIPT_FILES = %w( generate ) -BIN_FILES = %w( breakpointing envcon ) +BIN_FILES = %w( generate breakpointing envcon ) GENERATORS = %w( controller mailer model scaffold ) VENDOR_LIBS = %w( actionpack activerecord actionmailer railties ) @@ -140,12 +139,6 @@ end task :copy_generators do mkdir_p File.join(PKG_DESTINATION, 'script/generators') - SCRIPT_FILES.each do |file| - dest_file = File.join(PKG_DESTINATION, 'script', file) - cp File.join('generators', "#{file}.rb"), dest_file - chmod 0755, dest_file - end - GENERATORS.each do |dir| cp_r File.join('generators', dir), File.join(PKG_DESTINATION, 'script', 'generators', dir) end -- cgit v1.2.3