Sha256: ed7f33799f7e88c8a383bac96d2201e50b3f68163f21939c49a74c18fda91f65

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
 

require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'
require 'fileutils'
spec = Gem::Specification.new do |s|
  s.name = 'catchex'
  s.version = '0.0.5'
  s.has_rdoc = false
  s.bindir = 'bin'
  s.add_dependency('rake', '>= 0.8')
  s.rubyforge_project = 'rake'
  s.homepage = "http://www.catchex.com"
  s.extra_rdoc_files = ['README', 'LICENSE']
  s.summary = 'The notifier for Catchex'
  s.description = s.summary
  s.author = 'Braisdom'
  s.email = 'wangyonghe@msn.com'
  s.files = %w(LICENSE README Rakefile) + Dir.glob("{bin,lib,spec}/**/*")
  s.require_path = "lib"
  s.bindir = "bin"
  s.executables = ["rake"]
  s.default_executable = 'rake'
end

Rake::GemPackageTask.new(spec) do |p|
  p.gem_spec = spec
  p.need_tar = true
  p.need_zip = true
end


Rake::RDocTask.new do |rdoc|
  files =['README', 'LICENSE', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = "catchex Docs"
  rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
  rdoc.options << '--line-numbers'
end

Rake::TestTask.new do |t|
  t.test_files = FileList['test/**/*.rb']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
catchex-0.0.5 Rakefile