Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (24 sloc) 0.607 kb
2af75fb @jasonm Making sure Clearance is happy with 1.9
jasonm authored
1 # encoding: utf-8
2
cbfc249 @jferris Passing features and tests on diesel
jferris authored
3 require 'rubygems'
4 require 'bundler/setup'
4f016db @gabebw Clean up Rakefile.
gabebw authored
5 require 'bundler/gem_tasks'
6
1c6eee9 @technicalpickles Added Rakefile.
technicalpickles authored
7 require 'rake'
cbfc249 @jferris Passing features and tests on diesel
jferris authored
8 require 'diesel/tasks'
4f016db @gabebw Clean up Rakefile.
gabebw authored
9 require 'cucumber/rake/task'
e13e7e4 @jferris Convert from Test::Unit to RSpec
jferris authored
10 require 'rspec/core/rake_task'
08e24fc @sikachu Add Appraisal configuration file
sikachu authored
11 require 'appraisal'
12
4f016db @gabebw Clean up Rakefile.
gabebw authored
13 task :default do
3e74aac @mjankowski run all appraisals by default, but allow travis to only run one gemfile ...
mjankowski authored
14 if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
15 exec 'rake spec cucumber'
16 else
17 Rake::Task['appraise'].execute
18 end
19 end
08e24fc @sikachu Add Appraisal configuration file
sikachu authored
20
4f016db @gabebw Clean up Rakefile.
gabebw authored
21 task :appraise => ['appraisal:install'] do
3430e88 @croaky [#180] Specify all rake commands for Travis
croaky authored
22 exec 'rake appraisal spec cucumber'
08e24fc @sikachu Add Appraisal configuration file
sikachu authored
23 end
cd85f72 @croaky added clearance_views generator. by default, creates formtastic views wh...
croaky authored
24
fc6af70 @danhodge Optional config param 'user_model_name' added
danhodge authored
25 RSpec::Core::RakeTask.new(:spec)
7f1e7f5 @mike-burns reduce dependencies
mike-burns authored
26
cbfc249 @jferris Passing features and tests on diesel
jferris authored
27 Cucumber::Rake::Task.new(:cucumber) do |t|
28 t.fork = true
29 t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
7bf1245 @mike-burns Use the spec/factories dir if the spec/ dir exists
mike-burns authored
30 end
Something went wrong with that request. Please try again.