Skip to content

Commit

Permalink
make local.js and server.js runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Jun 29, 2013
1 parent eab2a13 commit a08e3fa
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 35 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.3.5 2013-06-29
- Make local.js and server.js runnable

1.3.4 2013-06-29
- Flush logs when exit with error

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
shadowsocks-nodejs
===========

Current version: 1.3.4
Current version: 1.3.5
[![Build Status](https://travis-ci.org/clowwindy/shadowsocks-nodejs.png)](https://travis-ci.org/clowwindy/shadowsocks-nodejs)

shadowsocks-nodejs is a lightweight tunnel proxy which can help you get through
Expand Down
10 changes: 1 addition & 9 deletions lib/shadowsocks/encrypt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions lib/shadowsocks/local.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions lib/shadowsocks/merge_sort.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions lib/shadowsocks/server.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/shadowsocks/test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions lib/shadowsocks/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "a tunnel proxy that help you get through firewalls",
"keywords": ["shadowsocks", "proxy", "socks5"],
"author": "clowwindy",
"version": "1.3.4",
"version": "1.3.5",
"licenses": [{
"type": "MIT",
"url": "https://raw.github.com/clowwindy/shadowsocks-nodejs/master/LICENSE"
Expand Down
2 changes: 2 additions & 0 deletions src/local.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,5 @@ exports.main = ->
s.on "error", (e) ->
process.stdout.on 'drain', ->
process.exit 1
if require.main is module
exports.main()
2 changes: 2 additions & 0 deletions src/server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,5 @@ exports.main = ->
process.exit 1
)()

if require.main is module
exports.main()
2 changes: 1 addition & 1 deletion src/utils.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports.parseArgs = ->
result['verbose'] = true
result

exports.version = "shadowsocks-nodejs v1.3.4"
exports.version = "shadowsocks-nodejs v1.3.5"

exports.EVERYTHING = 0
exports.DEBUG = 1
Expand Down

0 comments on commit a08e3fa

Please sign in to comment.