Sha256: 91292e8242908103e11a8f30e086f28e0d18d0122f34a4d28c207a5afa0f17f6
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 Bytes
Contents
require 'bundler' Bundler.require require 'rake/clean' CLOBBER.add('pkg') CLOBBER.add('vendor') CLOBBER.add('.bundle') filename = "#{AS3Corelib::NAME}-#{AS3Corelib::VERSION}" # # Gem tasks # namespace :gem do directory "pkg" desc 'Build the gem' task :build => 'pkg' do system "gem build #{AS3Corelib::NAME}.gemspec" system "mv #{filename}.gem pkg/#{filename}.gem" end desc "Build and install #{filename}.gem" task :install => :build do system "gem install pkg/#{filename}" end desc "Build and push #{filename}.gem to rubygems.org" task :push => :build do system "gem push pkg/#{filename}.gem" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
as3corelib-0.93.0.1 | Rakefile |
as3corelib-0.93.0 | Rakefile |