Add 'map-mash/' from commit '7f16409d1257e7471fef35c18bcdf32856b908e3'
git-subtree-dir: map-mash git-subtree-mainline:eacc351b17
git-subtree-split:7f16409d12
This commit is contained in:
4
map-mash/script/about
Executable file
4
map-mash/script/about
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
|
||||
require 'commands/about'
|
6
map-mash/script/autospec
Executable file
6
map-mash/script/autospec
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env ruby
|
||||
gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
|
||||
ENV['RSPEC'] = 'true' # allows autotest to discover rspec
|
||||
ENV['AUTOTEST'] = 'true' # allows autotest to run w/ color on linux
|
||||
system((RUBY_PLATFORM =~ /mswin|mingw/ ? 'autotest.bat' : 'autotest'), *ARGV) ||
|
||||
$stderr.puts("Unable to find autotest. Please install ZenTest or fix your PATH")
|
3
map-mash/script/console
Executable file
3
map-mash/script/console
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/console'
|
3
map-mash/script/dbconsole
Executable file
3
map-mash/script/dbconsole
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/dbconsole'
|
3
map-mash/script/destroy
Executable file
3
map-mash/script/destroy
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/destroy'
|
9
map-mash/script/dev-reset
Executable file
9
map-mash/script/dev-reset
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export RAILS_ENV=development
|
||||
rm -v db/development.sqlite3
|
||||
bundle exec rake db:create
|
||||
if [[ -f db/development.sqlite3 ]]; then
|
||||
bundle exec rake db:migrate
|
||||
fi
|
3
map-mash/script/generate
Executable file
3
map-mash/script/generate
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/generate'
|
3
map-mash/script/performance/benchmarker
Executable file
3
map-mash/script/performance/benchmarker
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../../config/boot'
|
||||
require 'commands/performance/benchmarker'
|
3
map-mash/script/performance/profiler
Executable file
3
map-mash/script/performance/profiler
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../../config/boot'
|
||||
require 'commands/performance/profiler'
|
3
map-mash/script/plugin
Executable file
3
map-mash/script/plugin
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/plugin'
|
3
map-mash/script/redis-runner
Executable file
3
map-mash/script/redis-runner
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
mkdir -p /tmp/rails-map-mash-redis
|
||||
exec redis-server $(ruby -e "puts File.expand_path('../../config/redis.conf', '$0')")
|
5
map-mash/script/resque-web-runner
Executable file
5
map-mash/script/resque-web-runner
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
exec ruby <<EORUBY
|
||||
require File.expand_path('../../config/environment', '$0')
|
||||
exec "resque-web --foreground --no-launch --port #{Setting.resque_web(:port)}"
|
||||
EORUBY
|
3
map-mash/script/runner
Executable file
3
map-mash/script/runner
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/runner'
|
3
map-mash/script/server
Executable file
3
map-mash/script/server
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require 'commands/server'
|
10
map-mash/script/spec
Executable file
10
map-mash/script/spec
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env ruby
|
||||
if ARGV.any? {|arg| %w[--drb -X --generate-options -G --help -h --version -v].include?(arg)}
|
||||
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
||||
else
|
||||
gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
|
||||
ENV["RAILS_ENV"] ||= 'test'
|
||||
require File.expand_path(File.dirname(__FILE__) + "/../config/environment") unless defined?(RAILS_ROOT)
|
||||
end
|
||||
require 'spec/autorun'
|
||||
exit ::Spec::Runner::CommandLine.run
|
Reference in New Issue
Block a user