Sha256: e24e4a9a8efaae6b88783f8c846e1361e1d0e0a0c34285d56bff872f118c9de2

Contents?: true

Size: 796 Bytes

Versions: 9

Compression:

Stored size: 796 Bytes

Contents

require 'rake'
require 'rake/testtask'

task :default => "test:units"

namespace :test do
  
  desc "Runs the unit tests for perennial"
  Rake::TestTask.new("units") do |t|
    t.pattern = 'test/*_test.rb'
    t.libs << 'test'
    t.verbose = true
  end
  
end

task :gemspec do
  require 'rubygems'
  require File.join(File.dirname(__FILE__), "lib", "<%= @application_path %>")
  spec = Gem::Specification.new do |s|
    s.name     = '<%= @application_path %>'
    s.email    = ''
    s.homepage = ''
    s.authors  = ["YOUR NAME"]
    s.version  = <%= @application_module %>::VERSION
    s.summary  = ""
    s.files    = FileList["{bin,vendor,lib,test}/**/*"].to_a
    s.platform = Gem::Platform::RUBY
  end
  File.open("<%= @application_path %>.gemspec", "w+") { |f| f.puts spec.to_ruby }
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
Sutto-perennial-0.2.1 templates/rakefile.erb
Sutto-perennial-0.2.2.1 templates/rakefile.erb
Sutto-perennial-0.2.2.2 templates/rakefile.erb
Sutto-perennial-0.2.2.3 templates/rakefile.erb
Sutto-perennial-0.2.2 templates/rakefile.erb
Sutto-perennial-0.2.3.0 templates/rakefile.erb
Sutto-perennial-0.2.3.1 templates/rakefile.erb
Sutto-perennial-0.2.3.2 templates/rakefile.erb
perennial-0.2.2.2 templates/rakefile.erb