diff options
author | jessib <jessib@riseup.net> | 2012-10-01 14:59:29 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-10-01 14:59:29 -0700 |
commit | c0f10e15d8d2ec3be620dff62315a44bd065f201 (patch) | |
tree | 42597c24af327b10bed712d8aa49cad5ad62a350 /help/Rakefile | |
parent | a757e173f93bf1d42bb41e92757e53b446e3d76d (diff) |
Moving start to help engine to live within leap_web repo rather than independent engine repo.
Diffstat (limited to 'help/Rakefile')
-rw-r--r-- | help/Rakefile | 38 |
1 files changed, 38 insertions, 0 deletions
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 |