Permalink
Browse files

Moved generate to bin and included it again

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Dec 15, 2004
1 parent 0a97c05 commit 120649dc8302122e32fb2e57fe36246f4ecf878e
Showing with 1 addition and 8 deletions.
  1. +1 −8 railties/Rakefile
  2. 0 railties/{generators → bin}/generate.rb
View
@@ -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
File renamed without changes.

0 comments on commit 120649d

Please sign in to comment.