From bf0e37b3cf8288779d63e67459bc261b13a13ca3 Mon Sep 17 00:00:00 2001
From: David Heinemeier Hansson <david@loudthinking.com>
Date: Thu, 9 Dec 2004 17:20:00 +0000
Subject: Added preliminary remote breakpoint support

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
 railties/Rakefile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

(limited to 'railties/Rakefile')

diff --git a/railties/Rakefile b/railties/Rakefile
index bfea6da8e3..79042c325d 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -21,7 +21,8 @@ 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 )
+SCRIPT_FILES = %w( generate breakpoint_client envcon )
+BIN_FILES    = %w( breakpointing envcon )
 GENERATORS   = %w( controller mailer model scaffold )
 
 VENDOR_LIBS = %w( actionpack activerecord actionmailer railties )
@@ -96,7 +97,7 @@ end
 desc "Make copies of all the default content of ties"
 task :copy_ties_content => [ 
   :copy_rootfiles, :copy_dispatches, :copy_html_files, :copy_abstract_application,
-  :copy_configs, :copy_generators, :copy_test_helpers, :copy_docs_in_public,
+  :copy_configs, :copy_generators, :copy_binfiles, :copy_test_helpers, :copy_docs_in_public,
   :copy_app_doc_readme ]
 
 task :copy_dispatches do
@@ -150,6 +151,14 @@ task :copy_generators do
   end
 end
 
+task :copy_binfiles do
+  BIN_FILES.each do |file|
+    dest_file = File.join(PKG_DESTINATION, 'script', file)
+    cp File.join('bin', file), dest_file
+    chmod 0755, dest_file
+  end
+end
+
 task :copy_rootfiles do
   cp "fresh_rakefile", "#{PKG_DESTINATION}/Rakefile"
   cp "README", "#{PKG_DESTINATION}/README"
-- 
cgit v1.2.3