Permalink
Browse files

recipes can be run with the poop shebang

  • Loading branch information...
1 parent bd90223 commit 1ed37f471e56fe2141b20a5de89223e6b1bd6fe1 @defn defn committed Oct 10, 2012
Showing with 7 additions and 3 deletions.
  1. +5 −1 README.md
  2. +1 −1 bin/_poop
  3. +1 −1 recipes/meh
View
@@ -9,4 +9,8 @@ result is poop. And what can you do with it? Grow more food!
Look at recipes/meh for an example. To turn this recipe into poop, run:
- bin/poop meh
+ bin/poop recipes/meh
+
+Recipes can be run directly with a `#!/usr/bin/env poop` shebang:
+
+ recipes/meh
View
@@ -82,7 +82,7 @@ function install_options {
function recipe {
local nm_recipe="$1"; shift
set --
- source "$shome/recipes/$nm_recipe"
+ source "$nm_recipe"
}
attr_accessor resource
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bin/poop
directory "meh"
mode 0750

0 comments on commit 1ed37f4

Please sign in to comment.