mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rb
* bin/rake: Import bin/rake from 0.9.2 * tool/rbinstall.rb (install): Rake::VERSION is now in lib/rake/version.rb. Fixes `make install` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d001539a05
commit
ea9c30bec1
4 changed files with 16 additions and 10 deletions
|
@ -1,3 +1,10 @@
|
|||
Fri Jun 24 07:24:37 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rb
|
||||
* bin/rake: Import bin/rake from 0.9.2
|
||||
* tool/rbinstall.rb (install): Rake::VERSION is now in
|
||||
lib/rake/version.rb. Fixes `make install`
|
||||
|
||||
Fri Jun 24 07:11:37 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rake: Import Rake 0.9.2
|
||||
|
|
7
bin/rake
7
bin/rake
|
@ -23,9 +23,10 @@
|
|||
#++
|
||||
|
||||
begin
|
||||
require 'rake'
|
||||
rescue LoadError
|
||||
require 'rubygems'
|
||||
require 'rake'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
require 'rake'
|
||||
|
||||
Rake.application.run
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
module Rake
|
||||
VERSION = '0.9.2'
|
||||
|
||||
module Version
|
||||
NUMBERS = [
|
||||
MAJOR = 0,
|
||||
MINOR = 9,
|
||||
BUILD = 2,
|
||||
]
|
||||
MAJOR, MINOR, BUILD = VERSION.split '.'
|
||||
NUMBERS = [ MAJOR, MINOR, BUILD ]
|
||||
end
|
||||
VERSION = Version::NUMBERS.join('.')
|
||||
end
|
||||
|
|
|
@ -540,7 +540,7 @@ install?(:ext, :comm, :gem) do
|
|||
|
||||
destdir = File.join(gpath, directories.grep(/^spec/)[0])
|
||||
default_gems = [
|
||||
['rake', 'lib/rake.rb'],
|
||||
['rake', 'lib/rake/version.rb'],
|
||||
['rdoc', 'lib/rdoc.rb'],
|
||||
['minitest', 'lib/minitest/unit.rb'],
|
||||
['json', 'ext/json/lib/json/version.rb'],
|
||||
|
|
Loading…
Add table
Reference in a new issue