Sha256: 9e0749b7a23b7296b7e15624e3c85c928ea6ae43256521f8d02188d271560f92

Contents?: true

Size: 760 Bytes

Versions: 11

Compression:

Stored size: 760 Bytes

Contents

require 'rake/testtask'

begin
	require 'rake/extensiontask'
rescue LoadError
	abort <<-error
  rake-compile is missing; Rugged depends on rake-compiler to build the C wrapping code.
  Install it by running `gem i rake-compiler`
	error
end

gemspec = Gem::Specification::load(File.expand_path('../rfreeimage.gemspec', __FILE__))

Gem::PackageTask.new(gemspec) do |pkg|
end

Rake::ExtensionTask.new('rfreeimage', gemspec) do |r|
	r.lib_dir = 'lib/rfreeimage'
end

desc "checkout freeimage source"
task :checkout do
	if !ENV['CI_BUILD']
		sh "git submodule update --init"
	end
end
Rake::Task[:compile].prerequisites.insert(0, :checkout)

Rake::TestTask.new do |t|
	t.libs << 'lib' << 'test'
	t.pattern = 'test/*_test.rb'
	t.verbose = false
	t.warning = true
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rfreeimage-0.2.1 Rakefile
rfreeimage-0.2.4 Rakefile
rfreeimage-0.2.0 Rakefile
rfreeimage-0.1.9 Rakefile
rfreeimage-0.1.8 Rakefile
rfreeimage-0.1.7 Rakefile
rfreeimage-0.1.6 Rakefile
rfreeimage-0.1.5 Rakefile
rfreeimage-0.1.3 Rakefile
rfreeimage-0.1.1 Rakefile
rfreeimage-0.1.0 Rakefile