summaryrefslogtreecommitdiff
path: root/billing/Rakefile
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-07 12:17:13 -0800
committerAzul <azul@leap.se>2013-07-17 10:46:25 +0200
commit2e59c7131a08acab4944b18ba4b8d82daa402c4f (patch)
tree28d33392410b4619ad553fb75f1d056584445fa5 /billing/Rakefile
parent97bd0ba4b35481216b2a1592065c70562c81c2d5 (diff)
Start to branch using braintree to process credit card payments.
Diffstat (limited to 'billing/Rakefile')
-rw-r--r--billing/Rakefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/billing/Rakefile b/billing/Rakefile
new file mode 100644
index 0000000..1dcfb25
--- /dev/null
+++ b/billing/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 = 'Billing'
+ 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