Sha256: 171636536668a38fb85499b6760e2ac6d05ee5f08d4e42938b7e4d5edf6c557c

Contents?: true

Size: 873 Bytes

Versions: 4

Compression:

Stored size: 873 Bytes

Contents

require 'bundler/gem_tasks'
Bundler::GemHelper.install_tasks

require 'rspec/core'
require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rspec_opts = '--color'
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
  spec.rspec_opts = '--color'
end

task :default => [:compile, :spec]
task :ci => ['ci:setup:rspec', :compile, :spec]

require 'yard'
YARD::Rake::YardocTask.new

if RUBY_PLATFORM =~ /java/
  require 'rake/javaextensiontask'
  Rake::JavaExtensionTask.new 'ruby_speech' do |ext|
    ext.lib_dir = 'lib/ruby_speech'
    ext.source_version = '1.6'
    ext.target_version = '1.6'
  end
else
  require 'rake/extensiontask'
  Rake::ExtensionTask.new 'ruby_speech' do |ext|
    ext.lib_dir = 'lib/ruby_speech'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_speech-3.0.1-java Rakefile
ruby_speech-3.0.1 Rakefile
ruby_speech-3.0.0-java Rakefile
ruby_speech-3.0.0 Rakefile