Sha256: adbfda2611c8677ae0a9177271e366b7e32f15f0232f8192f7fae766425f2c21

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

require 'spec/rake/spectask'


task :default => :spec

Spec::Rake::SpecTask.new do |t|
  t.warning = false
  t.rcov = false
  t.spec_opts = ["--colour"]
end

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

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "tuio-ruby"
    gem.summary = %Q{library to interface with TUIO protocol}
    gem.email = "qzzzq1@gmail.com"
    gem.homepage = "http://github.com/aberant/tuio-ruby"
    gem.authors = ["aberant"]
    gem.files = FileList['Rakefile', 'examples/**/*', 'lib/**/*'].to_a
    gem.test_files = FileList['spec/**/*.rb']
    gem.add_dependency('osc-ruby', '>= 0.1.6')
    gem.rubyforge_project = "tuio-ruby"

    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end

  Jeweler::RubyforgeTasks.new do |rubyforge|
    rubyforge.doc_task = "rdoc"
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tuio-ruby-0.2.4 Rakefile
tuio-ruby-0.2.3 Rakefile