heroku/heroku-buildpack-clojure — Issue #9: Consider providing default Procfile
Author: technomancy
Created: 2011-12-28 00:50:54+00:00
State: open

It seems the majority of Clojure apps would work with a simple one-line Procfile: `web: lein run`

It seems to be a general goal of our build process to require as few heroku-specific changes as possible; this would allow existing conventions (specifying `:main` in `project.clj`) to take the place of the heroku-specific Procfile.

In general it's healthy to have a deep mistrust of special cases or magic behaviour, but I think this could get a pass because it only turns an error condition (no Procfile) into a working one and it's very easy to detect whether a `:main` key is specified and emit a big warning when it's not.

We'd also want to update the existing articles in the devcenter to reflect this if we end up doing it.

Thoughts?