Sha256: 4d8d36005ecd24d501531b9be71853b778fcc3bff0e7603eed056fd3544effbe
Contents?: true
Size: 741 Bytes
Versions: 1
Compression:
Stored size: 741 Bytes
Contents
#!/usr/bin/env ruby require 'hoe' require 'rake/testtask' require 'rake/extensiontask' Hoe.plugin :manifest Hoe.spec 'calc_sun' do self.version = '0.1.1' developer('kb9agt', 'kb9agt@gmail.com') self.readme_file = 'README.rdoc' self.history_file = 'HISTORY.rdoc' extra_dev_deps << ['rake-compiler', '~> 0.9.3'] self.spec_extras = { extensions: ['ext/calc_sun/extconf.rb'] } Rake::ExtensionTask.new('calc_sun', spec) do |ext| ext.lib_dir = File.join('lib', 'calc_sun') end end Rake::Task[:test].prerequisites << :compile # vim: syntax=ruby Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/*_test.rb'] end task default: :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calc_sun-0.1.1 | Rakefile |