Sha256: 30e1276c017110c4dc733f253f43100d987f7bcadd325f754791d28b8aaebd54
Contents?: true
Size: 580 Bytes
Versions: 8
Compression:
Stored size: 580 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 task :server => :yard do Bundler.with_clean_env do Dir.chdir('documentation') do sh('bundle', 'install', '--quiet') sh('bundle', 'exec', 'rake') end end end 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
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
utopia-2.5.5 | Rakefile |
utopia-2.5.4 | Rakefile |
utopia-2.5.3 | Rakefile |
utopia-2.5.1 | Rakefile |
utopia-2.5.0 | Rakefile |
utopia-2.4.1 | Rakefile |
utopia-2.4.0 | Rakefile |
utopia-2.3.0 | Rakefile |