From c7d1cc8834f2d2f88a1966d300a055b2e250eefe Mon Sep 17 00:00:00 2001 From: Charlie DeTar Date: Tue, 26 Apr 2016 07:56:11 -0600 Subject: [PATCH] Remove phantomjs extra --- README.md | 1 - bin/compile | 3 +-- extra/phantomjs.sh | 9 --------- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 extra/phantomjs.sh diff --git a/README.md b/README.md index 42dcd787..06e927fe 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ build. Extras included in this branch: - `mongo_url.sh`: If `MONGO_URL` is empty, set it to the value of `MONGODB_URI`, `MONGOLAB_URI`, or `MONGOHQ_URL` (in order). - `root_url.sh`: If `ROOT_URL` is empty and `HEROKU_APP_NAME` is available, set `ROOT_URL` to `https://$HEROKU_APP_NAME.herokuapp.com` - - `phantomjs.sh`: Include phantomjs for use with `spiderable`. ## Where things go diff --git a/bin/compile b/bin/compile index ef47d766..93637d57 100755 --- a/bin/compile +++ b/bin/compile @@ -187,8 +187,7 @@ EOF # # source scripts in 'extra' dir, if any. Create them for custom stuff like -# binary dependencies, phantomjs for spiderable, additional environment -# settings, etc. +# binary dependencies, additional environment settings, etc. echo "-----> Running extras" for file in `ls "$BUILDPACK_DIR"/extra | sort`; do . "$BUILDPACK_DIR"/extra/$file diff --git a/extra/phantomjs.sh b/extra/phantomjs.sh deleted file mode 100644 index 7494bb18..00000000 --- a/extra/phantomjs.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -VERSION=1.9.7 -PHANTOM_URL="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$VERSION-linux-x86_64.tar.bz2" - -echo "-----> Installing phantomjs." -# Just extract the one file (the binary) and not all the examples/readme's/etc. -FILE="phantomjs-$VERSION-linux-x86_64/bin/phantomjs" -curl -L -sS $PHANTOM_URL -o - | tar -jxf - -C $COMPILE_DIR $FILE --strip 1