Sha256: 353440bed4b141fa91076fa8f0407ea838c86998d041b0686ec2e127b994c4ea

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rcov/rcovtask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "self-propelled-ruby"
    s.summary = %Q{a simple rack based ruby web-framework to demonstrate Rack's possibilities and to help one to get acquaintance of Rack}
    s.email = "giorgi.lekishvili@gmail.com"
    s.homepage = "http://github.com/giorgil/self-propelled-ruby"
    s.description = "TODO"
    s.authors = ["Giorgi Lekishvili"]
    s.executables << 'spr'
    s.add_dependency('rack', '>= 0.9.1')
    s.files =  FileList["[A-Z]*", "{bin,generators,lib,test}/**/*"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'self-propelled-ruby'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Rcov::RcovTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
end

task :default => :rcov

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
giorgil-self-propelled-ruby-0.2.3 Rakefile