Skip to content

Commit

Permalink
📜 adjust README to reflect prebuild changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Feb 5, 2017
1 parent 41c5dbe commit 7c62090
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,19 +323,11 @@ A large portion of the Windows support comes from code by [Krzysztof Kowalczyk](
Prebuilt binaries
-----------------

LevelDOWN uses `prebuild` to support prebuilt binaries. See [this list](https://github.com/Level/leveldown/releases) of supported prebuilt platform binaries. When installing LevelDOWN `prebuild --download` will download prebuilt binaries from GitHub if they exist and fallback to a compile step if they don't.
LevelDOWN uses `prebuild` and `prebuild-install` for handling prebuilt binaries. See [this list](https://github.com/Level/leveldown/releases) of supported prebuilt platform binaries. When installing LevelDOWN `prebuild-install` will install prebuilt binaries from GitHub if they exist and fallback to a compile step if they don't.

If you are working on LevelDOWN and want to compile the C++ code you can do:
If you are working on LevelDOWN and want to re-compile the C++ code it's enough to do `npm install`.

```
$ npm run rebuild [--debug] [--verbose]
```

or

```
$ npm i --build-from-source [--debug] [--verbose]
```
If you don't want to use the `prebuild` for the platform you are installing on, specify the `--build-from-source` flag when you install.

<a name="license"></a>
License &amp; copyright
Expand Down

0 comments on commit 7c62090

Please sign in to comment.