Permalink
Browse files

Added support for node-gossip to be run from within a project's

directory.  This means that one can use git submodule to install it.
I was unable to get the tests working because a require path problem.
This problem was so bad I can only assume my environment is incorrect
for running expresso tests.  Please run tests and make sure they work.
  • Loading branch information...
1 parent 63abc94 commit bbcaa76510495a6232c32e2c40df283b5f04af12 @godsflaw godsflaw committed Feb 19, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −0 index.js
  2. +2 −2 lib/gossiper.js
View
@@ -0,0 +1,3 @@
+// This file is just added for convenience so this repository can be
+// directly checked out (submodule) into a project
+module.exports = require('./lib/gossiper');
View
@@ -1,5 +1,5 @@
-var PeerState = require('peer_state').PeerState,
- Scuttle = require('scuttle').Scuttle,
+var PeerState = require('./peer_state').PeerState,
+ Scuttle = require('./scuttle').Scuttle,
EventEmitter = require('events').EventEmitter,
net = require('net'),
sys = require('sys'),

0 comments on commit bbcaa76

Please sign in to comment.