Changeset 77

Show
Ignore:
Timestamp:
08/24/2006 22:05:31 (2 years ago)
Author:
why
Message:
  • tools/rakehelp.rb: the :install task.
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/Rakefile

    r74 r77  
    99 
    1010REV = File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil 
    11 VERS = "0.5" + (REV ? ".#{REV}" : "") 
     11VERS = ENV['VERSION'] || "0.4" + (REV ? ".#{REV}" : "") 
    1212 
    1313task :default => [:package] 
  • trunk/tools/rakehelp.rb

    r60 r77  
    9898        p.need_tar = true 
    9999    end 
     100 
     101    task :install do 
     102        sh %{rake package} 
     103        sh %{gem install pkg/#{pkg_name}-#{pkg_version}} 
     104    end 
     105 
    100106end