diff options
author | Adam Jacob <adam@hjksolutions.com> | 2009-02-17 18:19:54 -0800 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2009-02-17 18:19:54 -0800 |
commit | 247037067cbbedc9037d3005134264a787c9530e (patch) | |
tree | 5363c2a0d12d9e6a0f67cfef4c695b4dd0f86946 | |
parent | 96ea7d91cb062dd85b21c4d1bbf084e20b9e376b (diff) | |
download | chef-247037067cbbedc9037d3005134264a787c9530e.tar.gz |
Adding the features tmp directory to the ignore list
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Rakefile | 11 |
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 @@ -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 |