Sha256: 3dfc7e73db00ebdee9a4ede808556efec9db228fc2f7a1fb8468cdc9947ce878
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 Bytes
Contents
require 'rake' require 'spec' require 'spec/rake/spectask' require 'rake/rdoctask' require 'rubygems/specification' require 'rake/gempackagetask' task :default => [:spec] Spec::Rake::SpecTask.new do |t| t.spec_opts = ['--options', "spec/spec.opts"] t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true t.rcov_opts = ['--exclude', 'spec,/usr,/Library'] end Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "AMEE-Ruby - RDoc documentation" rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' rdoc.options << '--charset' << 'utf-8' rdoc.rdoc_files.include('README', 'COPYING') rdoc.rdoc_files.include('lib/**/*.rb') } # Gem build task - load gemspec from file gemspec = File.read('amee-ruby.gemspec') spec = eval("#{gemspec}") Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amee-2.7.0 | Rakefile |