Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
update phantom to 2.1.1
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   bin/compile
  • Loading branch information
leesei committed Feb 28, 2016
1 parent 92b6a48 commit d2591c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ BUILD_DIR=$1
CACHE_DIR=$2

# config
VERSION="1.9.8"
VERSION="2.1.1"
CASPER_VERSION="master"

# Buildpack URL
ARCHIVE_NAME=phantomjs-${VERSION}-linux-x86_64
FILE_NAME=${ARCHIVE_NAME}.tar.bz2
#BUILDPACK_PHANTOMJS_PACKAGE=https://phantomjs.googlecode.com/files/${FILE_NAME}
BUILDPACK_PHANTOMJS_PACKAGE=https://bitbucket.org/ariya/phantomjs/downloads/${FILE_NAME}

mkdir -p $CACHE_DIR
Expand All @@ -26,7 +25,7 @@ fi
echo "-----> Extracting PhantomJS ${VERSION} binaries to ${BUILD_DIR}/vendor/phantomjs"
mkdir -p $CACHE_DIR/$ARCHIVE_NAME
mkdir -p $BUILD_DIR/vendor
tar -xjf $CACHE_DIR/$FILE_NAME -C $CACHE_DIR
tar jxf $CACHE_DIR/$FILE_NAME -C $CACHE_DIR
mv $CACHE_DIR/$ARCHIVE_NAME $BUILD_DIR/vendor/phantomjs

echo "-----> Cloning CasperJS"
Expand Down

0 comments on commit d2591c1

Please sign in to comment.