From 195ed4ae15b06a4e3a89f1f5fc95534c30c156c5 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 29 Dec 2015 18:24:34 -0500 Subject: [PATCH] warn for lack of procfile --- bin/compile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/compile b/bin/compile index d345b131..1e244250 100755 --- a/bin/compile +++ b/bin/compile @@ -109,6 +109,12 @@ export PKG_CONFIG_PATH=/app/.heroku/vendor/lib/pkg-config:$BUILD_DIR/.heroku/ven # Switch to the repo's context. cd $BUILD_DIR +# Warn for lack of Procfile. +if [[ ! -f Procfile ]]; then + puts-warn 'Warning: Your application is missing a Procfile. This file tells Heroku how to run your application.' + puts-warn 'Learn more: https://devcenter.heroku.com/articles/procfile' +fi + # Experimental pre_compile hook. bpwatch start pre_compile source $BIN_DIR/steps/hooks/pre_compile -- GitLab