Sha256: 38e83694b761f053b30add5d722ecf9c9e419c9eab606a35ef821811add1b378

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 Bytes

Contents

#!/bin/bash

os_name=$(uname -s)
phantomjs_version=1.7.0

if [[ "$os_name" == 'Darwin' ]]
then
  # brew versions phantomjs
  (cd /usr/local/Library && git checkout d37d922 Formula/phantomjs.rb)
  brew install phantomjs
elif [[ "$os_name" == 'Linux' ]]
then
  version=phantomjs-1.7.0-linux-x86_64
  wget http://phantomjs.googlecode.com/files/$version.tar.bz2
  tar xjf $version.tar.bz2
  mv $version phantomjs
else
  echo "Don't know how to install phantom js on $os_name.  " \
    "Your OS is bad! You should feel bad!" >&2
  exit 1
fi

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
qless-0.12.0 exe/install_phantomjs
qless-0.11.0 exe/install_phantomjs
qless-0.10.5 exe/install_phantomjs
qless-0.10.4 exe/install_phantomjs
qless-0.10.3 exe/install_phantomjs
qless-0.10.2 exe/install_phantomjs
qless-0.10.1 exe/install_phantomjs
qless-0.10.0 exe/install_phantomjs