forked from hitobito/hitobito_jubla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
27 lines (18 loc) · 742 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# encoding: utf-8
#!/usr/bin/env rake
# Copyright (c) 2012-2014, Jungwacht Blauring Schweiz. This file is part of
# hitobito and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
# https://github.com/hitobito/hitobito.
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
ENGINE_PATH = File.expand_path('..', __FILE__)
load File.expand_path('../app_root.rb', __FILE__)
load 'wagons/wagon_tasks.rake'
load 'rspec/rails/tasks/rspec.rake'
require 'ci/reporter/rake/rspec' unless Rails.env == 'production'
HitobitoJubla::Wagon.load_tasks
task 'test:prepare' => 'db:test:prepare'