Sha256: 5faa8a283bc26f527e0b8e6637601750ca7d2240b86c141052de4e6fae50cab4

Contents?: true

Size: 731 Bytes

Versions: 1

Compression:

Stored size: 731 Bytes

Contents

require 'rubygems/package_task'
require 'hoe'

HOE = Hoe.spec 'phonet' do
  self.rubyforge_name = 'phonet'
  self.author         = ['Udo Schneider']
  self.email          = %w[Udo.Schneider@homeaddress.de]
  self.need_tar       = false
  self.need_zip       = false

  spec_extras[:required_ruby_version] = Gem::Requirement.new('>= 1.8.6')

  spec_extras[:extensions] = ["ext/phonet/extconf.rb"]

  extra_dev_deps << ['rake-compiler', "~> 0.5"]
end

file "#{HOE.spec.name}.gemspec" => ['Rakefile', 'tasks/gem.rake'] do |t|
  puts "Generating #{t.name}"
  File.open(t.name, 'w') { |f| f.puts HOE.spec.to_yaml }
end

desc "Generate or update the standalone gemspec file for the project"
task :gemspec => ["#{HOE.spec.name}.gemspec"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phonet-0.0.1 tasks/gem.rake