Skip to content

Commit

Permalink
Updated the io to include the builder
Browse files Browse the repository at this point in the history
Updated Make file to do node bin/builder.js
  • Loading branch information
3rd-Eden committed Jun 9, 2011
1 parent e113083 commit 651dbda
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build:
./bin/build

builder:
./bin/builder
node ./bin/builder.js

test:
expresso -I lib test/builder.node.js
Expand Down
2 changes: 0 additions & 2 deletions bin/builder → bin/builder.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env node

/*!
* socket.io-node
* Copyright(c) 2011 LearnBoost <dev@learnboost.com>
Expand Down
9 changes: 9 additions & 0 deletions lib/io.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@

io.dist = __dirname + '/../dist';

/**
* Expose our build system which can generate
* socket.io files on the fly with different transports
*
* @api private
*/

io.builder = require('../bin/builder');

}
// end node

Expand Down

0 comments on commit 651dbda

Please sign in to comment.