diff --git a/Rakefile b/Rakefile index 8ae6c96..7b8cfd8 100644 --- a/Rakefile +++ b/Rakefile @@ -1,21 +1,21 @@ -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.summary = "Embed the Rhino Javascript engine into JRuby" - - 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 } - +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.summary = "Embed the Rhino Javascript engine into JRuby" + + 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 } +