Sha256: cc8a2677adbcab27edf484b2df73fdfe37fa8e04706f700072d67d0b85332bc5

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

require 'rake'
# require 'rake/testtask'
require 'rake/rdoctask'
require 'spec/rake/spectask'

desc 'Default: Run all specs.'
task :default => :spec

desc "Run all specs"
Spec::Rake::SpecTask.new() do |t|
  t.spec_opts = ['--options', "\"spec/support/spec.opts\""]
  t.spec_files = FileList['spec/**/*_spec.rb']
end

desc 'Generate documentation for the machinist_callbacks plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'machinist_callbacks'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "machinist_callbacks"
    gemspec.summary = "Callback hooks for machinist blueprints"
    gemspec.email = "github@makandra.de"
    gemspec.homepage = "http://github.com/makandra/machinist_callbacks"
    gemspec.description = "Callback hooks for machinist blueprints"
    gemspec.authors = ["Henning Koch"]
    gemspec.add_dependency 'machinist', '<2.0.0'
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
machinist_callbacks-0.2.0 Rakefile
machinist_callbacks-0.1.3 Rakefile
machinist_callbacks-0.1.2 Rakefile