From c0f10e15d8d2ec3be620dff62315a44bd065f201 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 1 Oct 2012 14:59:29 -0700 Subject: Moving start to help engine to live within leap_web repo rather than independent engine repo. --- help/Rakefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 help/Rakefile (limited to 'help/Rakefile') diff --git a/help/Rakefile b/help/Rakefile new file mode 100644 index 0000000..9306287 --- /dev/null +++ b/help/Rakefile @@ -0,0 +1,38 @@ +#!/usr/bin/env rake +begin + require 'bundler/setup' +rescue LoadError + puts 'You must `gem install bundler` and `bundle install` to run rake tasks' +end +begin + require 'rdoc/task' +rescue LoadError + require 'rdoc/rdoc' + require 'rake/rdoctask' + RDoc::Task = Rake::RDocTask +end + +RDoc::Task.new(:rdoc) do |rdoc| + rdoc.rdoc_dir = 'rdoc' + rdoc.title = 'LeapWebHelp' + rdoc.options << '--line-numbers' + rdoc.rdoc_files.include('README.rdoc') + rdoc.rdoc_files.include('lib/**/*.rb') +end + + + + +Bundler::GemHelper.install_tasks + +require 'rake/testtask' + +Rake::TestTask.new(:test) do |t| + t.libs << 'lib' + t.libs << 'test' + t.pattern = 'test/**/*_test.rb' + t.verbose = false +end + + +task :default => :test -- cgit v1.2.3