Sha256: ac7f491e250d88a63fe205ac80b0dd1a280b5b4134d30dc7855e179f3c62dcc2

Contents?: true

Size: 915 Bytes

Versions: 1

Compression:

Stored size: 915 Bytes

Contents

require './lib/tracksperanto'
begin
  require 'hoe'
  
  Hoe::RUBY_FLAGS.gsub!(/^\-w/, '') # No thanks undefined ivar warnings
  Hoe.plugin :bundler
  Hoe.spec('tracksperanto') do | p |
    p.readme_file   = 'README.rdoc'
    p.extra_rdoc_files  = FileList['*.rdoc'] + FileList['*.txt']
    p.version = Tracksperanto::VERSION
    
    p.extra_deps = {"progressbar" => "~> 0.9", "update_hints" => "~> 1.0" }
    p.extra_dev_deps = {"flexmock" => "~> 0.8", "cli_test" => "~>1.0"}
    
    p.developer('Julik Tarkhanov', 'me@julik.nl')
    p.clean_globs = File.read(File.dirname(__FILE__) + "/.gitignore").split(/\s/).to_a
  end
rescue LoadError
  
  $stderr.puts "Meta-operations on this package require Hoe"
  
  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

  task :default => [ :test ]
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tracksperanto-2.6.0 Rakefile