Skip to content

Commit

Permalink
I forgot to merge branch 'master' into manuel_7_cache_schema_objects …
Browse files Browse the repository at this point in the history
…before changing the branch.
  • Loading branch information
manuel committed Oct 17, 2012
2 parents 50d4240 + d696a8b commit 15f607e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
25 changes: 12 additions & 13 deletions README.md
Expand Up @@ -18,9 +18,7 @@ Inc](http://www.collective.com/).

### Prerequisites

#### Node.js 0.8.8

#### node-gyp build tool 0.6.10
#### Node.js 0.8.8 and npm

#### Modified Avro C++ library 1.7.2

Expand All @@ -33,24 +31,25 @@ changed to point to the location.
### Build

```
node-gyp configure
node-gyp build
$ npm install
```

This creates a directory called build/ containing the build outputs.
After changing the binding.gyp file it has been necessary to remove
the build/ directory.
This creates a directory called build/ containing the build outputs,
and node_modules/ containing required modules. After changing the
binding.gyp file it has been necessary to remove the build/ directory.

### Use

```
export LD_LIBRARY_PATH=/usr/local/lib
```

In JavaScript:

```
var avro = require("./build/Release/avro");
```

See test.js.
See test.js for examples.

### Test

```
$ ./bin/run-tests
```
2 changes: 2 additions & 0 deletions bin/install-and-run-tests
@@ -0,0 +1,2 @@
#!/bin/sh
npm install && ./bin/run-tests
2 changes: 2 additions & 0 deletions bin/run-tests
@@ -0,0 +1,2 @@
#!/bin/sh
./node_modules/mocha/bin/mocha test/*.js

0 comments on commit 15f607e

Please sign in to comment.