Sha256: 7a0bd9cabe1f5f2022caba6ccd53561923f4f4f09e6e07f62f7a4d745e1d64b4

Contents?: true

Size: 1.64 KB

Versions: 2

Compression:

Stored size: 1.64 KB

Contents

# -*- coding: utf-8 -*-
# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.
load 'tasks/setup.rb'

ensure_in_path 'lib'
require 'ludy'
require 'ludy/tasks'

CLEAN.include Dir['**/*.rbc']

task :default do
  Rake.application.options.show_task_pattern = /./
  Rake.application.display_tasks_and_comments
end

namespace :gem do
  desc 'create ludy.gemspec'
  task 'gemspec' do
    puts 'rake gem:debug > ludy.gemspec'
    File.open('ludy.gemspec', 'w'){|spec| spec << `rake gem:debug`.sub(/.*/, '')}
  end
end

namespace :git do
  desc 'push to rubyforge and github'
  task 'push' do
    sh 'git push rubyforge master'
    puts
    sh 'git push github master'
  end
end

PROJ.name = 'ludy'
PROJ.authors = 'Lin Jen-Shin (a.k.a. godfat 真常)'
PROJ.email = 'strip any number: 18god29fat7029 (at] godfat32 -dooot- 20org'
PROJ.url = 'http://ludy.rubyforge.org/'
PROJ.description = PROJ.summary = paragraphs_of('README', 'description').join("\n\n")
PROJ.changes = paragraphs_of('CHANGES', 0..1).join("\n\n")
PROJ.rubyforge.name = 'ludy'
PROJ.version = paragraphs_of('README', 0).first.split("\n").first[7..-1]

PROJ.gem.executables = 'bin/ludy'
PROJ.gem.files = []
Dir.glob('**/*'){ |file| PROJ.gem.files << file if file !~ /^pkg|^tmp|^doc/ }

PROJ.rdoc.main = 'README'
PROJ.rdoc.exclude << 'Manifest' << 'Rakefile' << 'tmp$' << '^tmp'
PROJ.rdoc.include << '\w+'
PROJ.rdoc.opts << '--diagram' if !WIN32 and `which dot` =~ %r/\/dot/
PROJ.rdoc.opts << '--charset=utf-8' << '--inline-source' << '--line-numbers' << '--promiscuous'

PROJ.spec.opts << '--color'

# EOF

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
godfat-ludy-0.1.13 Rakefile
ludy-0.1.13 Rakefile