Sha256: 06838cb93d3d23bc775f28ea32e8c13ddc3d21cdc592e1b195f7fde5fcaf9a47

Contents?: true

Size: 1.62 KB

Versions: 10

Compression:

Stored size: 1.62 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "tagomatic"
    gem.summary = %Q{Simple command-line mp3 tagger based on mp3info gem. Supports folder-specific configuration files.}
    gem.description = File.read('README.rdoc')
    gem.email = "daniel.lukic@berlinfactor.com"
    gem.homepage = "http://github.com/DanielLukic/tagomatic"
    gem.authors = ["Daniel Lukic"]
    gem.add_dependency "ruby-mp3info", ">= 0"
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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

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

task :test => :check_dependencies

task :default => :test

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

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

$:.unshift File.join(File.dirname(__FILE__), 'lib')
Dir['lib/tasks/*.rb'].each {|t| load t}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tagomatic-0.1.9 Rakefile
tagomatic-0.1.8 Rakefile
tagomatic-0.1.7 Rakefile
tagomatic-0.1.6 Rakefile
tagomatic-0.1.5 Rakefile
tagomatic-0.1.4 Rakefile
tagomatic-0.1.3 Rakefile
tagomatic-0.1.2 Rakefile
tagomatic-0.1.1 Rakefile
tagomatic-0.1.0 Rakefile