Sha256: 4cdf905f9693beeb269ede5cb657f9118034147889e8ae6d6a6d5ff28891643b

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

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

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

desc 'Test the grandstand 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 grandstand plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Grandstand'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require "jeweler"
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "grandstand"
    gemspec.summary = "A blog / gallery gem for Rails 3 that's dead-simple to configure, override, and rebuild"
    # gem.files = Dir["{lib}/**/*", "{app}/**/*", "{config}/**/*", "{public}/**/*", "{rails}/**/*", "README"]
    # other fields that would normally go in your gemspec
    # like authors, email and has_rdoc can also be included here
    gemspec.description = %{
      Grandstand is a simple blog and photo gallery application. It takes a minimal amount of configuration and can
      be built installed as a gem and used like any other thingymagig. It's totally cool.
    }
    gemspec.email = "flip@x451.com"
    gemspec.homepage = "http://github.com/flipsasser/grandstand"
    gemspec.authors = ["Flip Sasser"]
    gemspec.test_files = []
  end
rescue
  puts "Jeweler or one of its dependencies is not installed."
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 Rakefile
grandstand-0.2.3 Rakefile
grandstand-0.2.2 Rakefile
grandstand-0.2.1 Rakefile