Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.27 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.27 KB

Berkshelf

Code Climate

Manage a Cookbook or an Application's Cookbook dependencies

Installation

$ gem install berkshelf

Usage

See berkshelf.com for up-to-date usage instructions.

Contributing

Running tests

Install prerequisites

Install the latest version of Bundler

$ gem install bundler

Clone the project

$ git clone git://github.com/RiotGames/berkshelf.git

and run:

$ cd berkshelf
$ bundle install

Bundler will install all gems and their dependencies required for testing and developing.

Running unit (RSpec) and acceptance (Cucumber) tests

Simply copy the spec/knife.rb.sample to spec/knife.rb, and point it at a chef server. Berkshelf tests may upload and destroy cookbooks on your chef server, so be sure to configure a server safe for this task.

$ bundle exec guard start

See here for a quick way to get a testing chef server up.

Authors and Contributors