Prepare preinstall.sh for inclusion in master

This commit is contained in:
Lovell Fuller 2014-10-28 09:59:28 +00:00
parent 51805ef657
commit 2e61839387
2 changed files with 7 additions and 5 deletions

View File

@ -3,6 +3,6 @@ node_js:
- "0.10"
- "0.11"
before_install:
- curl -s https://raw.githubusercontent.com/lovell/sharp/preinstall/preinstall.sh | sudo bash -
- curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -
after_success:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

View File

@ -33,7 +33,9 @@ This module is powered by the blazingly fast [libvips](https://github.com/jcupit
To install the latest version of libvips on the following Operating Systems:
* Mac OS (homebrew, MacPorts)
* Mac OS
* Homebrew
* MacPorts
* Debian Linux
* Debian 7, 8
* Ubuntu 12.04, 14.04, 14.10
@ -44,13 +46,13 @@ To install the latest version of libvips on the following Operating Systems:
run the following as a user with `sudo` access:
curl -s https://raw.githubusercontent.com/lovell/sharp/preinstall/preinstall.sh | sudo bash -
curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -
or run the following as `root`:
curl -s https://raw.githubusercontent.com/lovell/sharp/preinstall/preinstall.sh | bash -
curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | bash -
The `preinstall.sh` script requires `curl` and `pkg-config`.
The [preinstall.sh](https://github.com/lovell/sharp/blob/master/preinstall.sh) script requires `curl` and `pkg-config`.
### Mac OS tips