Permalink
Browse files

r3619@sedna: jeremy | 2005-10-14 14:41:24 -0700

 move scripts
 r3622@sedna:  jeremy | 2005-10-14 14:54:48 -0700
 remove script/perform and script/process in favor of script/perform/profile, etc.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 3202155 commit 00656979fed99d4d16eefc795067a576ab1a1a91 @jeremy jeremy committed Oct 14, 2005
View
@@ -28,7 +28,7 @@ RUBY_FORGE_USER = "webster132"
# end
-BASE_DIRS = %w( app config/environments components db doc log lib lib/tasks public script test vendor vendor/plugins )
+BASE_DIRS = %w( app config/environments components db doc log lib lib/tasks public script script/perform script/process test vendor vendor/plugins )
APP_DIRS = %w( apis models controllers helpers views views/layouts )
PUBLIC_DIRS = %w( images javascripts stylesheets )
TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/test )
@@ -38,7 +38,7 @@ HTML_FILES = %w( 404.html 500.html index.html robots.txt favicon.ico
javascripts/prototype.js javascripts/scriptaculous.js
javascripts/effects.js javascripts/dragdrop.js javascripts/controls.js
javascripts/util.js javascripts/slider.js )
-BIN_FILES = %w( breakpointer console destroy generate perform process runner server )
+BIN_FILES = %w( breakpointer console destroy generate perform/benchmark perform/profile process/reaper process/spawner process/spinner runner server )
VENDOR_LIBS = %w( actionpack activerecord actionmailer activesupport actionwebservice railties )
View
@@ -1,3 +0,0 @@
-#!/usr/local/bin/ruby
-require File.dirname(__FILE__) + '/../config/boot'
-require 'commands/perform'
@@ -0,0 +1,3 @@
+#!/usr/local/bin/ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/perform/benchmark'
@@ -0,0 +1,3 @@
+#!/usr/local/bin/ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/perform/profile'
View
@@ -1,3 +0,0 @@
-#!/usr/local/bin/ruby
-require File.dirname(__FILE__) + '/../config/boot'
-require 'commands/process'
@@ -0,0 +1,3 @@
+#!/usr/local/bin/ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/reaper'
@@ -0,0 +1,3 @@
+#!/usr/local/bin/ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/spawner'
@@ -0,0 +1,3 @@
+#!/usr/local/bin/ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/spinner'
@@ -1,5 +0,0 @@
-if %w( benchmarker profiler ).include?(ARGV.first)
- require "#{File.dirname(__FILE__)}/perform/#{ARGV.shift}"
-else
- puts "Usage: ./script/perform [benchmarker|profiler]"
-end
@@ -1,5 +0,0 @@
-if %w( reaper spawner spinner ).include?(ARGV.first)
- require "#{File.dirname(__FILE__)}/process/#{ARGV.shift}"
-else
- puts "Choose either reaper, spawner, or spinner"
-end
@@ -44,7 +44,7 @@ def manifest
m.file "environments/test.rb", "config/environments/test.rb"
# Scripts
- %w( breakpointer console destroy generate perform process runner server ).each do |file|
+ %w( breakpointer console destroy generate perform/benchmark perform/profile process/reaper process/spawner process/spinner runner server ).each do |file|
m.file "bin/#{file}", "script/#{file}", script_options
end
@@ -114,7 +114,8 @@ def add_options!(opt)
public/images
public/javascripts
public/stylesheets
- script
+ script/perform
+ script/process
test/fixtures
test/functional
test/mocks/development

0 comments on commit 0065697

Please sign in to comment.