ctagg / flickr
- Source
- Commits
- Network (10)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
d75e11e
Saul Mora (author)
Tue Dec 30 22:34:31 -0800 2008
flickr / Rakefile
| 42a06b7f » | Chris Taggart | 2008-05-11 | 1 | require 'rake' | |
| 2 | require 'rake/testtask' | ||||
| 3 | require 'rake/rdoctask' | ||||
| 4 | require 'rake/gempackagetask' | ||||
| 5 | require 'rubygems' | ||||
| 6 | |||||
| 7 | task :default => [ :gem, :rdoc ] | ||||
| 8 | |||||
| 9 | Rake::TestTask.new("test") { |t| | ||||
| 4dd510bf » | granth | 2008-07-27 | 10 | t.test_files = FileList['test/test*.rb'] | |
| 42a06b7f » | Chris Taggart | 2008-05-11 | 11 | } | |
| 12 | |||||
| 13 | Rake::RDocTask.new { |rdoc| | ||||
| 14 | rdoc.rdoc_dir = 'doc' | ||||
| 15 | rdoc.rdoc_files.include('flickr.rb') | ||||
| 16 | } | ||||
| 17 | |||||
| 18 | spec = Gem::Specification.new do |s| | ||||
| 19 | s.add_dependency('xml-simple', '>= 1.0.7') | ||||
| 20 | s.name = 'flickr' | ||||
| a0c76ada » | granth | 2008-07-30 | 21 | s.version = "1.0.6" | |
| 42a06b7f » | Chris Taggart | 2008-05-11 | 22 | s.platform = Gem::Platform::RUBY | |
| 23 | s.summary = "An insanely easy interface to the Flickr photo-sharing service. By Scott Raymond. Maintainer: Patrick Plattes" | ||||
| 24 | s.requirements << 'Flickr developers API key' | ||||
| 10582bff » | granth | 2008-07-30 | 25 | s.files = Dir.glob("**/*").delete_if { |item| item.include?("svn") || item[/^pkg/] } | |
| d357338a » | granth | 2008-07-30 | 26 | s.require_path = 'lib' | |
| 42a06b7f » | Chris Taggart | 2008-05-11 | 27 | s.author = "Scott Raymond, Patrick Plattes" | |
| 28 | s.email = "patrick@erdbeere.net" | ||||
| 29 | s.rubyforge_project = "flickr" | ||||
| 30 | s.homepage = "http://flickr.rubyforge.org/" | ||||
| 31 | end | ||||
| 3e618420 » | reagent | 2008-09-10 | 32 | ||
| 42a06b7f » | Chris Taggart | 2008-05-11 | 33 | Rake::GemPackageTask.new(spec) do |pkg| | |
| 34 | pkg.need_zip = true | ||||
| 35 | pkg.need_tar = true | ||||
| 36 | end | ||||
| 3e618420 » | reagent | 2008-09-10 | 37 | ||
| 38 | task "Dump Gemspec file" | ||||
| 39 | task :debug do | ||||
| 40 | puts spec.to_ruby | ||||
| 41 | end | ||||
