mirror of
https://github.com/rubyjs/therubyrhino
synced 2023-03-27 23:21:34 -04:00
19 lines
545 B
Ruby
19 lines
545 B
Ruby
require 'rubygems'
|
|
gem 'hoe', '>= 2.1.0'
|
|
require 'hoe'
|
|
require 'fileutils'
|
|
require './lib/rhino'
|
|
|
|
Hoe.plugin :newgem
|
|
|
|
# Generate all the Rake tasks
|
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
|
$hoe = Hoe.spec 'therubyrhino' do
|
|
self.developer 'Charles Lowell', 'cowboyd@thefrontside.net'
|
|
self.rubyforge_name = self.name
|
|
self.spec_extras['platform'] = 'jruby' # JRuby gem created, e.g. therubyrhino-X.Y.Z-jruby.gem
|
|
end
|
|
|
|
require 'newgem/tasks'
|
|
Dir['tasks/**/*.rake'].each { |t| load t }
|
|
|