phantomjs-lite
minimal npm installer for phantomjs and slimerjs with zero npm-dependencies
screen-capture
build-status
git-branch : | master | beta | alpha |
---|---|---|---|
build-artifacts : |
master branch
- stable branch
- HEAD should be tagged, npm-published package
beta branch
- semi-stable branch
- HEAD should be latest, npm-published package
alpha branch
- unstable branch
- HEAD is arbitrary
- commit history may be rewritten
documentation
- requires unzip to be installed on os
- installs phantomjs@1.9.8
- installs slimerjs@0.9.6
quickstart screen-capture example
to run this example, follow the instruction in the script below
- example.sh
# example.sh # this shell script will # npm install phantomjs-lite # screen-capture http://phantomjs.org/screen-capture.html # instruction # 1. copy and paste this entire shell script into a console and press enter # 2. view ./screen-capture.phantomjs.png # 3. view ./screen-capture.slimerjs.png shExampleSh
output from shell
output from phantomjs
output from slimerjs
npm-dependencies
- none
package-listing
- phantomjs binary dynamically downloaded from https://bitbucket.org/ariya/phantomjs/downloads/
- slimerjs binary dynamically downloaded from https://download.slimerjs.org/releases/
package.json
todo
- add codeship.io build
- upgrade to phantomjs@2.x
- none
change since fb22ca38
- npm publish 2015.8.2
- upgrade to slimerjs@0.9.6
- none
changelog of last 50 commits
internal build-script
- build.sh
# build.sh # this shell script will run the build for this package shBuild # save exit-code EXIT_CODE=$?# create package-listing MODE_BUILD=gitLsTree shRunScreenCapture shGitLsTree || exit $?# create recent changelog of last 50 commits MODE_BUILD=gitLog shRunScreenCapture git log -50 --pretty="%ai\u000a%B" || exit $?# upload build-artifacts to github, and if number of commits > 16, then squash older commits COMMIT_LIMIT=16 shBuildGithubUpload || exit $?exit $EXIT_CODE