зеркало из https://github.com/github/ruby.git
Put colorize to library directory.
Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
This commit is contained in:
Родитель
0a711b0edf
Коммит
e8ddbc0239
|
@ -5,7 +5,7 @@
|
|||
|
||||
require 'digest'
|
||||
require_relative 'downloader'
|
||||
require_relative 'colorize'
|
||||
require_relative 'lib/colorize'
|
||||
|
||||
class ExtLibs
|
||||
def initialize
|
||||
|
|
|
@ -7,7 +7,7 @@ require 'erb'
|
|||
require 'optparse'
|
||||
$:.unshift(File.dirname(__FILE__))
|
||||
require 'vpath'
|
||||
require 'colorize'
|
||||
require_relative 'lib/colorize'
|
||||
|
||||
vpath = VPath.new
|
||||
timestamp = nil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/ruby
|
||||
require_relative 'colorize'
|
||||
require_relative 'lib/colorize'
|
||||
|
||||
until ARGV.empty?
|
||||
case ARGV[0]
|
||||
|
|
|
@ -6,7 +6,7 @@ end
|
|||
require 'minitest/unit'
|
||||
require 'test/unit/assertions'
|
||||
require_relative '../envutil'
|
||||
require_relative '../../../tool/colorize'
|
||||
require_relative '../colorize'
|
||||
require 'test/unit/testcase'
|
||||
require 'optparse'
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ require 'shellwords'
|
|||
require 'tmpdir'
|
||||
require 'pathname'
|
||||
require File.expand_path("../lib/vcs", __FILE__)
|
||||
require File.expand_path("../colorize", __FILE__)
|
||||
require File.expand_path("../lib/colorize", __FILE__)
|
||||
STDOUT.sync = true
|
||||
|
||||
$srcdir ||= nil
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/ruby -pi
|
||||
BEGIN {
|
||||
require_relative 'colorize'
|
||||
require_relative 'lib/colorize'
|
||||
|
||||
colorize = Colorize.new
|
||||
file = ARGV.shift
|
||||
|
|
Загрузка…
Ссылка в новой задаче