Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (19 sloc) 0.599 kB
dfe3017 @reset Remove Rails application structure from RefineryCMS root
reset 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'
6bcce7b @parndt Little test to see if travis requires a database configuration.
parndt authored
6 end
9609809 @parndt Added a little comment.
parndt authored
7
dfe3017 @reset Remove Rails application structure from RefineryCMS root
reset authored
8 APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
76088b1 @avit Added rake task to convert tabs and strip whitespace
avit authored
9
dfe3017 @reset Remove Rails application structure from RefineryCMS root
reset authored
10 if File.exists?(APP_RAKEFILE)
11 load 'rails/tasks/engine.rake'
12 end
13
e2cad4d @reset RCov tasks specific to refinerycms project should not be part of test…
reset authored
14 Dir[File.expand_path('../tasks/**/*', __FILE__)].each do |task|
15 load task
16 end
6271069 @reset Add release Rake tasks to build gems
reset authored
17
dfe3017 @reset Remove Rails application structure from RefineryCMS root
reset authored
18 require "refinerycms-testing"
19 Refinery::Testing::Railtie.load_tasks
9f215fc @reset add function to load_dummy_tasks to an application
reset authored
20 Refinery::Testing::Railtie.load_dummy_tasks(File.dirname(__FILE__))
6271069 @reset Add release Rake tasks to build gems
reset authored
21
22 desc "Build gem files for all projects"
23 task :build => "all:build"
032e96d @phiggins Make running specs easier.
phiggins authored
24
25 task :default => :spec
Something went wrong with that request. Please try again.