Sha256: a06ad925bd910c3d474caf8b53276ca3e7b17aa85867b397e72f1ed87becfc9a

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake/testtask'
Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/test*.rb']
  t.verbose = true
end

begin
  require 'yard'

  YARD::Rake::YardocTask.new(:doc) do |t|
    t.files = ['lib/**/*.rb']
    static_files = 'LICENSE,CREDITS.md'
    t.options += [
      '--title', 'FIDIUS Common libraries',
      '--private',   # include private methods
      '--protected', # include protected methods
      '--files', static_files,
      '--readme', 'README.md',
      '--exclude', 'lib/fidius-common/yamldb/serialization_helper.rb',
      '--exclude', 'lib/fidius-common/yamldb/yaml_db.rb'
    ]
  end
rescue LoadError
  puts 'YARD not installed (gem install yard), http://yardoc.org'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fidius-common-0.0.6 Rakefile
fidius-common-0.0.5 Rakefile
fidius-common-0.0.4beta0 Rakefile