Sha256: 0bc22eab2e857ad2901a2c46b690ec7c743c64b55e18d79f49f99adaa64435b0
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
require 'bundler' Bundler.require require 'rake/clean' CLOBBER.add('pkg') CLOBBER.add('vendor') CLOBBER.add('.bundle') filename = "#{Greensock::NAME}-#{Greensock::VERSION}" # # Gem tasks # namespace :gem do directory "pkg" desc 'Build the gem' task :build => 'pkg' do system "gem build #{Greensock::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 release #{filename}.gem to rubygems.org" task :release => :build do system "gem push pkg/#{filename}.gem" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
greensock-0.1.1.pre | Rakefile |