Sha256: 1a1fc4fbfe476bb02ccc16fc7f0e6265011eb78ab37a8c81057ec762b04c4230

Contents?: true

Size: 812 Bytes

Versions: 12

Compression:

Stored size: 812 Bytes

Contents

require 'bundler/setup'
require "bundler/gem_tasks"
require 'rake/testtask'
require 'yard'
require 'yard-activerecord'
require_relative 'yard_ext/all'
require 'guard'
require 'lanes/rake_tasks'
Dir.glob('tasks/*.rake').each { |r| load r}

Rake::TestTask.new do |t|
    t.libs << 'test'
    t.pattern = "test/*_test.rb"
end


YARD::Rake::YardocTask.new do |t|
    t.files   = ['lib/skr/concerns/*.rb','lib/**/*.rb','db/schema.rb']
    t.options = ["--title=Stockor Core Documentation",
                 "--markup=markdown",
                 "--template-path=yard_ext/templates",
                 "--readme=README.md"]
end


task :doc => 'db:environment' do
    ENV['SCHEMA']       = 'db/schema.rb'
    ENV['DB_STRUCTURE'] = 'db/schema.rb'
    Rake::Task["db:schema:dump"].invoke
    Rake::Task["yard"].invoke
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lanes-0.8.3 Rakefile
lanes-0.8.2 Rakefile
lanes-0.8.1 Rakefile
lanes-0.8.0 Rakefile
lanes-0.7.0 Rakefile
lanes-0.6.1 Rakefile
lanes-0.6.0 Rakefile
lanes-0.5.6 Rakefile
lanes-0.5.5 Rakefile
lanes-0.5.0 Rakefile
lanes-0.4.0 Rakefile
lanes-0.3.0 Rakefile