Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (46 sloc) 1.466 kb
e51f36a6 »
2008-10-11 Adding rake tasks to generate gemspec (which shouldn't be ignored, ne…
1 require 'rubygems'
2 require 'spec'
3 require 'rake/rdoctask'
4 require 'spec/rake/spectask'
5 require 'rake/gempackagetask'
6
7 $LOAD_PATH.unshift File.dirname(__FILE__) + '/lib'
8
9 require 'garlic'
10
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
11 begin
12 require 'jeweler'
13
14 Jeweler::Tasks.new do |s|
15 s.name = "garlic"
16 s.version = Garlic::Version::String
17 s.summary = "Test your project across multiple versions of rails/dependencies"
18 s.description = "CI tool to test your project across multiple versions of rails/dependencies"
19 s.email = "ian.w.white@gmail.com"
20 s.homepage = "http://github.com/ianwhite/garlic"
21 s.authors = ["Ian White"]
22 s.rubyforge_project = 'garlic'
23 end
24
25 Jeweler::GemcutterTasks.new
e51f36a6 »
2008-10-11 Adding rake tasks to generate gemspec (which shouldn't be ignored, ne…
26
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
27 Jeweler::RubyforgeTasks.new do |rubyforge|
2fa71a5e »
2009-10-05 Fix rubyforge doc location
28 rubyforge.doc_task = "doc"
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
29 end
30
b0edd93c »
2009-10-05 Added rake taks to release to github, gemcutter and rubyforge
31 namespace :release do
32 desc "Release current version to github, gemcutter and rubyforge"
33 task :all => ['release', 'gemcutter:release', 'rubyforge:release']
34 end
35
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
36 rescue LoadError
37 puts "Jeweler not available for gem tasks. Install it with: sudo gem install jeweler"
e51f36a6 »
2008-10-11 Adding rake tasks to generate gemspec (which shouldn't be ignored, ne…
38 end
39
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
40 begin
41 require 'hanna/rdoctask'
42 rescue LoadError
43 end
44
45 Rake::RDocTask.new(:doc) do |d|
46 d.options << '--all'
47 d.rdoc_dir = 'doc'
48 d.main = 'README.textile'
49 d.title = "garlic API Docs"
caa907a6 »
2009-10-05 Move README
50 d.rdoc_files.include('README.rdoc', 'History.txt', 'License.txt', 'Todo.txt', 'VERSION', 'lib/**/*.rb')
e51f36a6 »
2008-10-11 Adding rake tasks to generate gemspec (which shouldn't be ignored, ne…
51 end
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
52 task :rdoc => :doc
e51f36a6 »
2008-10-11 Adding rake tasks to generate gemspec (which shouldn't be ignored, ne…
53
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
54 Spec::Rake::SpecTask.new(:spec) do |t|
55 t.warning = true
e51f36a6 »
2008-10-11 Adding rake tasks to generate gemspec (which shouldn't be ignored, ne…
56 end
a489c92c »
2009-10-05 garlic gem now available on gemcutter and rubyforge
57 task :default => :spec
Something went wrong with that request. Please try again.