Sha256: ae1ca3fb487afe90d8a99326883229c34a441db8abb9842729aa8555f89481c7

Contents?: true

Size: 1.34 KB

Versions: 10

Compression:

Stored size: 1.34 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "conf"
    gem.summary = %Q{Simple configuraton library that supports inheritance.}
    gem.description = %Q{Simple configuraton library that supports inheritance.}
    gem.email = "jari.bakken@gmail.com"
    gem.homepage = "http://github.com/jarib/conf"
    gem.authors = ["Jari Bakken"]
    gem.add_development_dependency "rspec", ">= 1.2.9"
    gem.add_development_dependency "yard", ">= 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: 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_opts = %w[--exclude spec,ruby-debug,/Library/Ruby,.gem --include lib/conf]
  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

10 entries across 10 versions & 1 rubygems

Version Path
conf-0.0.10 Rakefile
conf-0.0.9 Rakefile
conf-0.0.8 Rakefile
conf-0.0.7 Rakefile
conf-0.0.6 Rakefile
conf-0.0.5 Rakefile
conf-0.0.4 Rakefile
conf-0.0.3 Rakefile
conf-0.0.2 Rakefile
conf-0.0.1 Rakefile