diff options
-rw-r--r-- | railties/Rakefile | 9 | ||||
-rwxr-xr-x | railties/bin/generate.rb (renamed from railties/generators/generate.rb) | 0 |
2 files changed, 1 insertions, 8 deletions
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 diff --git a/railties/generators/generate.rb b/railties/bin/generate.rb index 8f2f1497d6..8f2f1497d6 100755 --- a/railties/generators/generate.rb +++ b/railties/bin/generate.rb |