livingsocial/rake-pipeline — pull request #96 by twinturbo (2012-10-12 09:02:22+00:00)
Title: Raise an error if tmpdir is an input

I wasn't sure exactly where to put this code so I put it here. This will prevent users from failing hard like I did. This only raises an error if tmpdir is input. This does not raise an error if directories inside tmp are inputs. Example:

```ruby
# Raises an error
input "tmp" do
# pipeline stuff
end

tmpdir "tmp"
```

```ruby
# does not raise an error since the tmp itself is not an input
tmpdir "tmp"

input "app/assets", "tmp/builds" do
# pipeline stuff
end
```