Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (20 sloc) 0.582 kb
8c4558c @pellegrino Generated rails plugin scaffold
authored
1 #!/usr/bin/env rake
2 begin
3 require 'bundler/setup'
4 rescue LoadError
5 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6 end
7
8 APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
4618a55 @pellegrino Trying to make it pass using travis configs borrowed from forem
authored
9 load 'lib/tasks/jackpot_tasks.rake'
8c4558c @pellegrino Generated rails plugin scaffold
authored
10 load 'rails/tasks/engine.rake'
11 require 'rspec/core/rake_task'
8a9dfd5 @pellegrino Billing cron job and rake task
authored
12
8c4558c @pellegrino Generated rails plugin scaffold
authored
13 RSpec::Core::RakeTask.new(:spec)
14 task :default => :spec
15
16 Bundler::GemHelper.install_tasks
8a9dfd5 @pellegrino Billing cron job and rake task
authored
17
18 namespace :jackpot do
19 desc "Run billing cron job"
20 task :cron => :environment do
21 cron = Jackpot::Cron.new(Jackpot::Customer, Rails.logger)
22 cron.run
23 end
24 end
Something went wrong with that request. Please try again.