Sha256: 8e9f85dbebd486e04d8c581e18c6ab36671bb2a4b4e27d9b4482809fe14732d8

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require File.join(File.dirname(__FILE__), 'lib', 'web_video', 'version')

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the web_video plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the web_video plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'WebVideo'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "web_video"
    gemspec.version = WebVideo::VERSION.dup
    gemspec.summary = "WebVideo allows you to inspect and process video files"
    gemspec.description = "WebVideo allows you to inspect, convert and take screenshots from video files"
    gemspec.email = "galeta.igor@gmail.com"
    gemspec.homepage = "http://github.com/galetahub/web_video"
    gemspec.authors = ["Igor Galeta"]
    gemspec.files = FileList["[A-Z]*", "{lib, test}/**/*"]
    gemspec.rubyforge_project = "web_video"
  end
  
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
web_video-1.1.2 Rakefile
web_video-1.1.1 Rakefile
web_video-1.1.0 Rakefile