From 4b75aad218544257c4a3ba291ad08321bf30d7c5 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 10 Apr 2013 10:34:57 -0400 Subject: [PATCH] Explain standalone mode --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d62943f..ec3127b 100644 --- a/README.md +++ b/README.md @@ -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.