Sha256: 6351877f0cfc8108a22d98277b50cca1a1d62eb857a20961ac8c637dbcc9bbc2

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'
require './lib/ldap/version.rb'

require 'spec'
require 'spec/rake/spectask'
require 'pathname'

Hoe.new('dm-ldap-adapter', Ldap::VERSION) do |p|
  p.developer('mkristian', 'm.kristian@web.de')
  p.extra_deps = ['ruby-net-ldap','slf4r']
  p.remote_rdoc_dir = '' # Release to root
end

desc 'Install the package as a gem.'
task :install => [:clean, :package] do
  gem = Dir['pkg/*.gem'].first
  sh "gem install --local #{gem} --no-ri --no-rdoc"
end

desc 'Run specifications'
Spec::Rake::SpecTask.new(:spec) do |t|
  if File.exists?('spec/spec.opts')
    t.spec_opts << '--options' << 'spec/spec.opts'
  end
  t.spec_files = Pathname.glob('./spec/**/*_spec.rb')
end

require 'yard'

YARD::Rake::YardocTask.new

# vim: syntax=Ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm-ldap-adapter-0.2.0 Rakefile