Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Commit

Permalink
Rakefile shuffle to make rake features work in a git checkout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Holland committed Jun 30, 2010
1 parent dd95534 commit 6959e47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Rakefile
Expand Up @@ -31,18 +31,17 @@ file 'app/build/Debug-iphonesimulator/Universal.app/Universal' do
sh "cd app && xcodebuild -target Universal -configuration Debug -sdk #{ICuke::SDK.fullname}"
end
task :app => 'app/build/Debug-iphonesimulator/Universal.app/Universal'
task :features => :app

task :lib do
sh 'cd ext/iCuke && rake'
sh 'cd ext && rake'
end

begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)

task :features => :check_dependencies
task :features => [:app, :lib]
task :features => [:lib, :app]
rescue LoadError
task :features do
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
Expand Down

0 comments on commit 6959e47

Please sign in to comment.