Sha256: df565a841a5973a0b562fb0e18490c3f75fdb20aa22ae211b5a89ab439ea6266

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name        = "ffi-icu"
    gem.summary     = %Q{Simple FFI wrappers for things I need from ICU.}
    gem.description = %Q{Provides charset detection, locale sensitive collation and more.}
    gem.email       = "jari.bakken@gmail.com"
    gem.homepage    = "http://github.com/jarib/ffi-icu"
    gem.authors     = ["Jari Bakken"]

    gem.add_dependency "ffi", ">= 0.6.3"
    gem.add_development_dependency "rspec", ">= 1.3.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 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-icu-0.0.2 Rakefile
ffi-icu-0.0.1 Rakefile