diff --git a/bin/compile b/bin/compile index 46abf810..ceb479fb 100644 --- a/bin/compile +++ b/bin/compile @@ -56,20 +56,11 @@ framework=$($dir/bin/detect $1) if [ $? == 0 ]; then echo "=====> Detected Framework: $framework" - $dir/bin/compile $1 $2 $3 + $dir/bin/compile $BUILD_DIR $CACHE_DIR $ENV_DIR if [ $? != 0 ]; then exit 1 fi - - # check if the buildpack left behind an environment for subsequent ones - if [ -e $dir/export ]; then - source $dir/export - fi - - if [ -x $dir/bin/release ]; then - $dir/bin/release $1 > $1/last_pack_release.out - fi else echo "create-react-app `.buildpacks` not defined. Exiting." exit 1 diff --git a/bin/release b/bin/release index b8bd8af5..0c7c02aa 100644 --- a/bin/release +++ b/bin/release @@ -1,5 +1,7 @@ #!/usr/bin/env bash +# Use architecture of multi-buildpack to compose behavior. +# https://github.com/heroku/heroku-buildpack-multi if [ -e $1/last_pack_release.out ]; then cat $1/last_pack_release.out rm $1/last_pack_release.out