Sha256: 728bd12f2db99685e95d05beb80bf91b6e5f88bf230cf48cff2659d43c4e6a9b
Contents?: true
Size: 422 Bytes
Versions: 2
Compression:
Stored size: 422 Bytes
Contents
module VersionInfo class Tasks def self.install(opts = nil) dir = caller.find{|c| /Rakefile:/}[/^(.*?)\/Rakefile:/, 1] self.new(dir, opts && opts[:name]).install end def install namespace :vinfo do desc "bump SEGMENT , Bumps a version info segment ('major','minor','patch','state','build')" task 'bump' do puts "Wow!" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
version_info-0.3.0 | lib/version_info/tasks.rb |
version_info-0.2.0 | lib/version_info/tasks.rb |