Sha256: 28cbc920d9f885b3a5568d469a0b810ecbbbf99e653ea2a9711c5da96006a158

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 KB

Contents

# encoding: utf-8
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require File.join(File.dirname(__FILE__), 'lib', 'falcon', 'version')

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

desc 'Test the falcon 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 falcon plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Falcon'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "falcon"
    s.version = Falcon::VERSION.dup
    s.summary = "Background video encoding"
    s.description = "Background video encoding via resque"
    s.email = "galeta.igor@gmail.com"
    s.homepage = "https://github.com/galetahub/falcon"
    s.authors = ["Igor Galeta", "Pavlo Galeta"]
    s.files =  FileList["[A-Z]*", "{app,config,lib}/**/*"] - %w(Gemfile Gemfile.lock)
  end
  
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
falcon-0.1.3 Rakefile
falcon-0.1.2 Rakefile
falcon-0.1.1 Rakefile
falcon-0.1.0 Rakefile