Sha256: aa2037df92ce3bcc9480a6ada148924db119cf6c828ed3b907f42c7fbdd10661
Contents?: true
Size: 663 Bytes
Versions: 13
Compression:
Stored size: 663 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:test) namespace :documentation do task :yard do sh('yard', '-o', "documentation/public/code") end desc "Build and run the documentation wiki." task :server => :yard do Bundler.with_clean_env do Dir.chdir('documentation') do sh('bundle', 'install', '--quiet') sh('bundle', 'exec', 'rake') end end end desc "Update static documentation." task :static => :yard do require 'rackula/command' Dir.chdir("documentation") do Rackula::Command::Top["generate", "--force", "--output-path", "../docs"].invoke end end end task :default => :test
Version data entries
13 entries across 13 versions & 1 rubygems