Sha256: 9ac65d2c44251694de21ec337d5c16f94650ad293da9b73c3ba27a0aad96d028

Contents?: true

Size: 811 Bytes

Versions: 23

Compression:

Stored size: 811 Bytes

Contents

require 'rubygems'
require 'rake'
require 'rake/testtask'

Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

task :default => :test

require 'rake/rdoctask'

Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "zencoder-rb #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
    test.rcov_opts << '--exclude "gems/*"'
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install rcov"
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
zencoder-2.3.2 Rakefile
zencoder-2.3.1 Rakefile
zencoder-2.3.0 Rakefile
zencoder-2.2.2 Rakefile
zencoder-2.2.1 Rakefile
zencoder-2.2.0 Rakefile
zencoder-2.1.15 Rakefile
zencoder-2.1.14 Rakefile
zencoder-2.1.13 Rakefile
zencoder-2.1.12 Rakefile
zencoder-2.1.11 Rakefile
zencoder-2.1.10 Rakefile
zencoder-2.1.9 Rakefile
zencoder-2.1.8 Rakefile
zencoder-2.1.7 Rakefile
zencoder-2.1.6 Rakefile
zencoder-2.1.5 Rakefile
zencoder-2.1.4 Rakefile
zencoder-2.1.3 Rakefile
zencoder-2.1.2 Rakefile