Sha256: 782e191134047548a4560257351cc0db629df6e58a7b5543769ea2b76e6f5c53
Contents?: true
Size: 806 Bytes
Versions: 2
Compression:
Stored size: 806 Bytes
Contents
# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) <rubyists@rubyists.com> # Distributed under the terms of the MIT license. # See the LICENSE file that accompanied this software for the full MIT License text # require 'rake/gempackagetask' 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 Rake::GemPackageTask.new(GEMSPEC) do |p| p.need_tar = true p.need_zip = true end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
deathsyn-seedling-0.0.5 | tasks/gem.rake |
seedling-0.0.5 | tasks/gem.rake |