summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2009-02-17 18:19:54 -0800
committerAdam Jacob <adam@hjksolutions.com>2009-02-17 18:19:54 -0800
commit247037067cbbedc9037d3005134264a787c9530e (patch)
tree5363c2a0d12d9e6a0f67cfef4c695b4dd0f86946
parent96ea7d91cb062dd85b21c4d1bbf084e20b9e376b (diff)
downloadchef-247037067cbbedc9037d3005134264a787c9530e.tar.gz
Adding the features tmp directory to the ignore list
-rw-r--r--.gitignore1
-rw-r--r--Rakefile11
2 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 98d5c33e2e..86a1f94724 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@ chef/pkg
chef-server/pkg
chef/log
chef-server/log
+features/data/tmp/**
*.swp
diff --git a/Rakefile b/Rakefile
index 28141e329e..f638e409b2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,3 +1,6 @@
+require 'rubygems'
+require 'cucumber/rake/task'
+
gems = %w[chef chef-server]
desc "Build the chef gems"
@@ -29,4 +32,10 @@ namespace :dev do
end
Dir.chdir("example-repository") { sh("rake install") }
end
-end \ No newline at end of file
+end
+
+Cucumber::Rake::Task.new(:features) do |t|
+ t.step_pattern = 'features/steps/**/*.rb'
+ supportdir = 'features/support'
+ t.cucumber_opts = "--format pretty -r #{supportdir}"
+end