mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
15 lines
325 B
Ruby
15 lines
325 B
Ruby
# -*- mode: ruby; coding: utf-8 -*-
|
|
require 'bundler/gem_tasks'
|
|
require 'rake/extensiontask'
|
|
require 'yard'
|
|
require_relative 'yard_extension'
|
|
|
|
task :default => :spec
|
|
|
|
Rake::ExtensionTask.new('opencv') do |ext|
|
|
ext.lib_dir = 'lib'
|
|
end
|
|
|
|
YARD::Rake::YardocTask.new do |t|
|
|
t.files = ['lib/**/*.rb', 'ext/opencv/*.cpp']
|
|
end
|