templates/simple/Rakefile in xcbootstrap-0.0.2 vs templates/simple/Rakefile in xcbootstrap-0.0.3
- old
+ new
@@ -9,11 +9,11 @@
require 'rake'
require 'cucumber'
require 'cucumber/rake/task'
desc "Default: build, test, frank"
-task :default => [:build, :test, "frank:build", "frank:run"]
+task :default => [:build, :test, :frank]
desc "Bootstrap dependencies for the app"
task :bootstrap do
system("which -s brew") || fail("Cannot find 'brew' command. Have you installed homebrew?")
system("brew update > /dev/null") || fail("Error: updating homebrew failed")
@@ -41,5 +41,8 @@
end
Cucumber::Rake::Task.new("frank:run") do |t|
t.cucumber_opts = "Frank/features --format pretty"
end
+
+desc "Build and run frank tests"
+task :frank => ["frank:build", "frank:run"]