-
-
Save fatgy/8634714 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd /usr/local/src | |
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2 | |
tar xvjpf phantomjs-1.9.0-linux-x86_64.tar.bz2 | |
ln -s /usr/local/src/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs | |
git clone git://github.com/n1k0/casperjs.git | |
cd casperjs | |
git checkout tags/1.0.2 | |
ln -sf /usr/local/src/casperjs/bin/casperjs /usr/local/bin/casperjs | |
phantomjs --version | |
casperjs --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment