Sha256: 39896cd92cc08b14c496bdad989f30e9905d61868f1836552c6061c0d35d33c2

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the Origami plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the Origami plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Origami'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.textile')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "origami"
    gemspec.summary = "A Rails Engine plugin for handling layouts."
    gemspec.email = "rap@endymion.com"
#    gemspec.homepage = "http://endymion.com/gems/origami"
    gemspec.description = <<-EOF
  Origami is a Rails Engine plugin that handles the tedious parts of setting up HTML/CSS layoutspec.
  EOF
    gemspec.authors = ["Ryan Porter", "Matthew James Taylor"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
endymion-origami-0.1.0 Rakefile
endymion-origami-0.1.1 Rakefile
endymion-origami-0.1.2 Rakefile
endymion-origami-0.1.3 Rakefile
endymion-origami-0.1.4 Rakefile
endymion-origami-0.1.5 Rakefile