Sha256: 353d62f7145f3a377c18c2d91e866e3d98e0007b234cfc037b9c31bba2ad857a

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 Bytes

Contents

require "bundler/geminabox/gem_tasks"

<% if config[:test] == 'minitest' -%>
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
end

task :default => :test
<% elsif config[:test] == 'rspec' -%>
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
<% end -%>

<% if config[:ext] -%>
require "rake/extensiontask"

Rake::ExtensionTask.new("<%=config[:underscored_name]%>") do |ext|
  ext.lib_dir = "lib/<%=config[:namespaced_path]%>"
end
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bundler-geminabox-0.1.0 lib/bundler/geminabox/templates/newgem/Rakefile.tt
bundler-geminabox-0.0.1 lib/bundler/geminabox/templates/newgem/Rakefile.tt