Permalink
Browse files

default rake setup

  • Loading branch information...
JonRowe committed Aug 6, 2013
1 parent d98d434 commit 14e1c76921486d67d3d9da1ff0a30693e9ce3b2b
Showing with 18 additions and 1 deletion.
  1. +18 −1 Rakefile
View
@@ -1 +1,18 @@
-require "bundler/gem_tasks"
+require "bundler"
+Bundler.setup
+Bundler::GemHelper.install_tasks
+
+require "rake"
+
+require "rspec/core/rake_task"
+require "rspec/core/version"
+
+require "cucumber/rake/task"
+Cucumber::Rake::Task.new(:cucumber)
+
+desc "Run all examples"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.ruby_opts = %w[-w]
+end
+
+task :default => [:spec, :cucumber]

0 comments on commit 14e1c76

Please sign in to comment.