Skip to content

Commit

Permalink
Move mustache template conf into inner buildpack
Browse files Browse the repository at this point in the history
  • Loading branch information
mars committed Sep 6, 2016
1 parent f68f1ed commit 8738f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .buildpacks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/mars/create-react-app-inner-buildpack.git
https://github.com/mars/create-react-app-inner-buildpack.git#runtime-env-vars
https://github.com/heroku/heroku-buildpack-mustache.git
https://github.com/heroku/heroku-buildpack-static.git
9 changes: 0 additions & 9 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ rm -rf $dir
# * Install `npm build` tooling.
export NPM_CONFIG_PRODUCTION=false

# Ensure this config exists so the buildpack successfully detects
MUSTACHE_TEMPLATES_CONF="$BUILD_DIR/mustache_templates.conf"
if [ -f "$MUSTACHE_TEMPLATES_CONF" ]; then
echo 'Using existing `mustache_templates.conf`' | indent
else
echo 'Writing `mustache_templates.conf` to support create-react-app' | indent
echo "build/index.html" > "$MUSTACHE_TEMPLATES_CONF"
fi

echo "=====> Downloading Buildpack: $url"

if [[ "$url" =~ \.tgz$ ]] || [[ "$url" =~ \.tgz\? ]]; then
Expand Down

0 comments on commit 8738f43

Please sign in to comment.