Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (26 sloc) 0.77 kb
64a050d fixing specs (wip) + cell specs are fine
Didier Lafforgue 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
a9fb66f @did first init
did authored
7
64a050d fixing specs (wip) + cell specs are fine
Didier Lafforgue authored
8 APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
a9fb66f @did first init
did authored
9
085a54d introduce the proxy collection liquid drop so that we can paginate fo…
Didier Lafforgue authored
10 # === Locomotive tasks ===
64a050d fixing specs (wip) + cell specs are fine
Didier Lafforgue authored
11 load 'lib/tasks/locomotive.rake'
9e7d1d3 @did make an engine of the cms
did authored
12
085a54d introduce the proxy collection liquid drop so that we can paginate fo…
Didier Lafforgue authored
13 # === Gems install tasks ===
14 Bundler::GemHelper.install_tasks
15
16 # === Travis
17 task :travis do
18 ["rspec spec", "cucumber -b"].each do |cmd|
19 puts "Starting to run #{cmd}..."
20 system("export DISPLAY=:99.0 && bundle exec #{cmd}")
21 raise "#{cmd} failed!" unless $?.exitstatus == 0
22 end
23 end
9e7d1d3 @did make an engine of the cms
did authored
24
085a54d introduce the proxy collection liquid drop so that we can paginate fo…
Didier Lafforgue authored
25 # === RSpec ===
64a050d fixing specs (wip) + cell specs are fine
Didier Lafforgue authored
26 require 'rspec/core/rake_task'
27 RSpec::Core::RakeTask.new(:spec)
886d67b wrong Gemfile + define default task rake (rspec + cucumber)
did authored
28
085a54d introduce the proxy collection liquid drop so that we can paginate fo…
Didier Lafforgue authored
29 # === Cucumber ===
30 load 'lib/tasks/cucumber.rake'
b23f269 @did clean tests and make them pass in the order observed on nix systems
did authored
31
085a54d introduce the proxy collection liquid drop so that we can paginate fo…
Didier Lafforgue authored
32 # === Default task ===
33 task :default => [:spec, :cucumber]
Something went wrong with that request. Please try again.