forked from hitobito/hitobito_generic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
26 lines (18 loc) · 748 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
#!/usr/bin/env rake
# encoding: utf-8
# Copyright (c) 2012-2013, Puzzle ITC GmbH. This file is part of
# hitobito_generic 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_generic.
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'
HitobitoGeneric::Wagon.load_tasks
task 'test:prepare' => 'db:test:prepare'