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