Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Explain standalone mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Apr 10, 2013
1 parent 04e4e17 commit 4b75aad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ To strain, simply run the `strain` command and pass in the cookbook(s) to strain

This will first detect the cookbook dependencies, copy the cookbook and all dependencies into a sandbox. It will execute the contents of the `Strainerfile` on each cookbook.

Standalone
----------
As of `2.0.0`, Strainer supports "standalone" mode. This allows you to use Strainer file from within a cookbook. Instead of specifying the path for a cookbook, you just use `test`

$ bundle exec strainer test

from the root of your cookbook. **Note**: your cookbook must have it's own Gemfile and working directory.

Berkshelf
---------
[Berkshelf](http://berkshelf.com/) is a tool for managing multiple cookbooks. It works very similar to how a `Gemfile` works with Rubygems. If you're already using Berkshelf, Strainer will work out of the box. If you're not using Berkshelf, Strainer will work out of the box.
Expand Down

0 comments on commit 4b75aad

Please sign in to comment.