Sha256: 9b90f3066c3f16dd9fefde6e19f8bcc7cf23ebf835b21accaf7f4bb2c310e601
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
require 'rubygems' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' require './lib/<%= gem_name %>' Hoe.plugin :newgem <%= enable_website ? '' : '# ' %>Hoe.plugin :website <%= enable_cucumber ? '' : '# ' %>Hoe.plugin :cucumber_features # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.spec '<%= gem_name %>' do self.developer '<%= author %>', '<%= email %>' self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required self.rubyforge_name = self.name # TODO this is default value # self.extra_deps = [['activesupport','>= 2.0.2']] <%- if is_jruby -%> self.spec_extras['platform'] = 'jruby' # JRuby gem created, e.g. <%= gem_name %>-X.Y.Z-jruby.gem <%- end -%> end require 'newgem/tasks' Dir['tasks/**/*.rake'].each { |t| load t } # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
newgem-1.5.0 | app_generators/newgem/templates/Rakefile |