diff options
author | Azul <azul@riseup.net> | 2012-09-27 22:36:21 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-09-27 22:36:21 +0200 |
commit | 1208257bcc0e2a6648b68433a7b7e24791f92583 (patch) | |
tree | c676f2030bef20705e46421b478b7f9305bcf13e /certs/Rakefile | |
parent | e17a2a676e0ce585ef9eaa9077887bfe1bc1173f (diff) |
adding in leap web certs - merging repos
Diffstat (limited to 'certs/Rakefile')
-rw-r--r-- | certs/Rakefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/certs/Rakefile b/certs/Rakefile new file mode 100644 index 0000000..dd38158 --- /dev/null +++ b/certs/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 = 'LeapWebCerts' + 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 |