Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.4.0
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 32 lines (27 sloc) 1.093 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
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.verbose = true
  end
  
end

task :gemspec do
  require 'rubygems'
  require File.join(File.dirname(__FILE__), "lib", "perennial")
  spec = Gem::Specification.new do |s|
    s.name = 'perennial'
    s.email = 'sutto@sutto.net'
    s.homepage = 'http://sutto.net/'
    s.authors = ["Darcy Laycock"]
    s.version = Perennial::VERSION
    s.summary = "A simple (generally event-oriented) application library for Ruby"
    s.description = "Perennial is a platform for building different applications in Ruby. It uses a controller-based approach with mixins to provide different functionality."
    s.files = FileList["{bin,vendor,lib,test,templates}/**/*"].to_a
    s.executables = FileList["bin/*"].to_a.map { |f| File.basename(f) }
    s.platform = Gem::Platform::RUBY
  end
  File.open("perennial.gemspec", "w+") { |f| f.puts spec.to_ruby }
end
Something went wrong with that request. Please try again.