mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Moved generate to bin and included it again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
0a97c05ba0
commit
120649dc83
2 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue