Sha256: e728b9950bd5cd4d89a429c2c0da0cf2ac0f9d82d7a0c07e9f449cb8c659464e

Contents?: true

Size: 922 Bytes

Versions: 7

Compression:

Stored size: 922 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rdoc/task'

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'HappySeed'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end




Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end


task default: :test

desc "Copy readme files into the doc directory"
task :sync_docs do
  system( "mkdir -p website/source/docs" )
  `find lib -name README\\* -print`.each_line do |file|
    file.gsub!( /\n/, "" )
    out = file.gsub( /.*\//, "" ).gsub( /.rdoc/, ".html.markdown" )
    # puts file, out
    system( "cp #{file} website/source/docs/#{out}" )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
happy_seed-0.0.16 Rakefile
happy_seed-0.0.15 Rakefile
happy_seed-0.0.14 Rakefile
happy_seed-0.0.13 Rakefile
happy_seed-0.0.12 Rakefile
happy_seed-0.0.11 Rakefile
happy_seed-0.0.10 Rakefile