Sha256: f872b3ec67d80691f73476aebcdf73457e1fd0788eadc7245ecbefad9b29f4ad

Contents?: true

Size: 579 Bytes

Versions: 10

Compression:

Stored size: 579 Bytes

Contents

require 'rubygems/package_task'

desc "make a gemspec"
task :gemspec => [:manifest, :changelog, :authors] do
  gemspec_file = "#{GEMSPEC.name}.gemspec"
  File.open(gemspec_file, 'w+'){|gs| gs.puts(GEMSPEC.to_ruby) }
end

desc "package and install from gemspec"
task :install => [:gemspec] do
  sh "gem build #{GEMSPEC.name}.gemspec"
  sh "gem install #{GEMSPEC.name}-#{GEMSPEC.version}.gem"
end

desc "uninstall the gem"
task :uninstall => [:clean] do
  sh %{gem uninstall -x #{GEMSPEC.name}}
end

Gem::PackageTask.new(GEMSPEC) do |p|
  p.need_tar = true
  p.need_zip = true
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
seedling-0.0.6 lib/templates/core/tasks/gem.rake
freeswitcher-0.8.0 tasks/gem.rake
freeswitcher-0.7.1 tasks/gem.rake
freeswitcher-0.7.0 tasks/gem.rake
freeswitcher-0.6.18 tasks/gem.rake
freeswitcher-0.6.17 tasks/gem.rake
freeswitcher-0.6.16 tasks/gem.rake
freeswitcher-0.6.15 tasks/gem.rake
freeswitcher-0.6.14 tasks/gem.rake
freeswitcher-0.6.13 tasks/gem.rake