Sha256: 873bada542022ca88737b1383385cae5f518731631dbeb41d418000e21d21c0c

Contents?: true

Size: 934 Bytes

Versions: 4

Compression:

Stored size: 934 Bytes

Contents

# Copyright (c) 2006, 2007, 2008, 2009 - R.W. van 't Veer

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

task :default => :test

desc 'Generate site'
task :site => :rdoc do
  system 'rsync -av --delete doc/ remvee@rubyforge.org:/var/www/gforge-projects/exifr'
end

Rake::RDocTask.new do |rd|
  rd.title = 'EXIF Reader for Ruby API Documentation'
  rd.main = "README.rdoc"
  rd.rdoc_dir = "doc/api"
  rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
end


Rake::TestTask.new do |t|
  t.libs << 'lib' << 'tests'
  t.test_files = FileList['tests/*_test.rb']
end

begin
  require 'rcov/rcovtask'

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

  desc 'Remove all artifacts left by testing and packaging'
  task :clean => [:clobber_rdoc, :clobber_rcov]
rescue LoadError
  desc 'Remove all artifacts left by testing and packaging'
  task :clean => [:clobber_rdoc]
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
bogado-exifr-0.10.8 Rakefile
remvee-exifr-0.10.8 Rakefile
exifr-0.10.9 Rakefile
exifr-0.10.8 Rakefile