Sha256: b7e06d3b389e61f431fbe3bbd1385077466ead1e03eb1e1b912bf39630539a54

Contents?: true

Size: 977 Bytes

Versions: 3

Compression:

Stored size: 977 Bytes

Contents

require 'rubygems'
require './lib/tracksperanto'

begin
  require 'hoe'
  # Disable spurious warnings when running tests, ActiveMagic cannot stand -w
  Hoe::RUBY_FLAGS.replace ENV['RUBY_FLAGS'] || "-I#{%w(lib test).join(File::PATH_SEPARATOR)}" + 
    (Hoe::RUBY_DEBUG ? " #{RUBY_DEBUG}" : '')
  
  Hoe.spec('tracksperanto') do | p |
    p.version = Tracksperanto::VERSION
    p.extra_deps = {"progressbar" => ">=0"}
    p.extra_dev_deps = {"flexmock" => ">=0"}
    p.rubyforge_name = 'guerilla-di'
    p.developer('Julik Tarkhanov', 'me@julik.nl')
    p.extra_rdoc_files = p.extra_rdoc_files.reject{|e| e =~ "samples\/"}
    p.clean_globs = %w( **/.DS_Store  coverage.info **/*.rbc .idea)
  end
rescue LoadError
  $stderr.puts "Meta-operations on this package require Hoe"
  task :default => [ :test ]
  
  require 'rake/testtask'
  desc "Run all tests"
  Rake::TestTask.new("test") do |t|
    t.libs << "test"
    t.pattern = 'test/**/test_*.rb'
    t.verbose = true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tracksperanto-2.1.1 Rakefile
tracksperanto-2.1.0 Rakefile
tracksperanto-2.0.2 Rakefile