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

Version Path
utopia-2.11.1 Rakefile
utopia-2.11.0 Rakefile
utopia-2.10.0 Rakefile
utopia-2.9.5 Rakefile
utopia-2.9.3 Rakefile
utopia-2.9.2 Rakefile
utopia-2.9.1 Rakefile
utopia-2.9.0 Rakefile
utopia-2.8.2 Rakefile
utopia-2.8.1 Rakefile
utopia-2.8.0 Rakefile
utopia-2.7.0 Rakefile
utopia-2.6.0 Rakefile