Sha256: 6ec43ef12f7f38285455a16e1e642966c65ca9212993887508f6037807f8f5c1

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "gemstalker"
    s.summary = "GemStalker is a small library to determine if GitHub has built a gem yet."
    s.email = "josh@technicalpickles.com"
    s.homepage = "http://github.com/technicalpickles/gemstalker"
    s.description = "A library for determining if GitHub has built a gem yet"
    s.authors = ["Josh Nichols"]
    s.files =  FileList["[A-Z]*", "{bin, lib, test}/**/*"] 
    s.executables = "stalk"
    s.bindir = "bin"
  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    = 'gemstalker'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

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

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jeffrafter-gemstalker-0.2.0 Rakefile