Sha256: 8df29cb521ad92a987ed08aeb158090f71f67286f8ac0c6f3ae085f038945bc1

Contents?: true

Size: 808 Bytes

Versions: 11

Compression:

Stored size: 808 Bytes

Contents

#!/usr/bin/env rake
require 'rubygems'
require 'bundler'
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rake'
require 'rake/extensiontask'
require 'rspec/core'
require 'rspec/core/rake_task'

Bundler.setup

Rake::ExtensionTask.new('gdal-ruby/gdal') do |ext|
  ext.name = 'gdal'
  ext.lib_dir = "lib/gdal-ruby"
end

Rake::ExtensionTask.new('gdal-ruby/ogr') do |ext|
  ext.name = 'ogr'
  ext.lib_dir = "lib/gdal-ruby"
end

Rake::ExtensionTask.new('gdal-ruby/osr') do |ext|
  ext.name = 'osr'
  ext.lib_dir = "lib/gdal-ruby"
end

Rake::ExtensionTask.new('gdal-ruby/gdalconst') do |ext|
  ext.name = 'gdalconst'
  ext.lib_dir = "lib/gdal-ruby"
end

RSpec::Core::RakeTask.new(:spec) do |spec|
  Rake::Task['compile'].invoke
  spec.pattern = FileList['spec/**/*_spec.rb']
end

task :default => :spec

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
gdal3-3.0.1 Rakefile
gdal3-3.0.0 Rakefile
gdal-3.0.0 Rakefile
gdal-2.0.0 Rakefile
gdal-1.0.0 Rakefile
gdal-0.0.7 Rakefile
gdal-0.0.6 Rakefile
gdal-0.0.5 Rakefile
gdal-0.0.4 Rakefile
gdal-0.0.3 Rakefile
gdal-0.0.2 Rakefile