Sha256: 872c532dfa7f213f4150de1f1f1ecee1d4cf9ede8b9119a810dfa31224730db3

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

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

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

desc 'Test the core 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 core plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Core'
  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 = "qcore"
    gemspec.summary = "Qwerty Core"
    gemspec.description = "Qwerty Core"
    gemspec.email = "kris.leech@interkonect.com"
    gemspec.homepage = "http://interkonect.com"
    gemspec.authors = ["Kris Leech"]
  end
  Jeweler::GemcutterTasks.new  
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qcore-1.2.0 Rakefile