diff --git a/bin/compile b/bin/compile index d345b131f953140c8e2702d930ae95ec1fdfc622..1e2442508e21237e5e74c9a1b57c822bdf8a1866 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