Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 0.593 kB
require 'rubygems'
require 'rake'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), *%w(lib)))
task :default => [ :test ]
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
namespace :test do
desc "Build the sample site and leave its contents in test/sample/public"
task :sample do
sh %q(LEAVE_SAMPLE=1 turn -I"lib:test" test/test_builder.rb -n /sample/)
end
end
begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
end
task :doc => :yard
rescue LoadError
end
Jump to Line
Something went wrong with that request. Please try again.