Permalink
Browse files

refactored repo

  • Loading branch information...
oberstet committed Nov 15, 2016
1 parent 4b26f96 commit 61e6d60373908de5b315dffc1c1fedae19fb0336
Showing with 22 additions and 45 deletions.
  1. +2 −0 .gitignore
  2. 0 {package → }/.npmignore
  3. +17 −1 Makefile
  4. +3 −3 SConstruct
  5. 0 {package → }/index.js
  6. 0 {package → }/lib/auth/cra.js
  7. 0 {package → }/lib/auth/persona.js
  8. 0 {package → }/lib/autobahn.js
  9. 0 {package → }/lib/configure.js
  10. 0 {package → }/lib/connection.js
  11. 0 {package → }/lib/log.js
  12. 0 {package → }/lib/polyfill.js
  13. 0 {package → }/lib/polyfill/array.js
  14. 0 {package → }/lib/polyfill/console.js
  15. 0 {package → }/lib/polyfill/function.js
  16. 0 {package → }/lib/polyfill/json.js
  17. 0 {package → }/lib/polyfill/object.js
  18. 0 {package → }/lib/polyfill/string.js
  19. 0 {package → }/lib/polyfill/typedarray.js
  20. 0 {package → }/lib/serializer.js
  21. 0 {package → }/lib/session.js
  22. 0 {package → }/lib/transport/longpoll.js
  23. 0 {package → }/lib/transport/rawsocket.js
  24. 0 {package → }/lib/transport/websocket.js
  25. 0 {package → }/lib/util.js
  26. 0 {package → }/package.json
  27. +0 −5 package/.gitignore
  28. +0 −22 package/Makefile
  29. +0 −14 package/README.md
  30. 0 {package → }/test/README.md
  31. 0 {package → }/test/test.js
  32. 0 {package → }/test/test_connect.js
  33. 0 {package → }/test/test_connect.txt
  34. 0 {package → }/test/test_msgpack_serialization.js
  35. 0 {package → }/test/test_msgpack_serialization.txt
  36. 0 {package → }/test/test_pubsub_basic.js
  37. 0 {package → }/test/test_pubsub_basic.txt
  38. 0 {package → }/test/test_pubsub_complex.js
  39. 0 {package → }/test/test_pubsub_complex.txt
  40. 0 {package → }/test/test_pubsub_eligible.js
  41. 0 {package → }/test/test_pubsub_eligible.txt
  42. 0 {package → }/test/test_pubsub_exclude.js
  43. 0 {package → }/test/test_pubsub_exclude.txt
  44. 0 {package → }/test/test_pubsub_excludeme.js
  45. 0 {package → }/test/test_pubsub_excludeme.txt
  46. 0 {package → }/test/test_pubsub_options.js
  47. 0 {package → }/test/test_pubsub_options.txt
  48. 0 {package → }/test/test_pubsub_prefix_sub.js
  49. 0 {package → }/test/test_pubsub_prefix_sub.txt
  50. 0 {package → }/test/test_pubsub_wildcard_sub.js
  51. 0 {package → }/test/test_pubsub_wildcard_sub.txt
  52. 0 {package → }/test/test_rawsocket_protocol.js
  53. 0 {package → }/test/test_rpc_arguments.js
  54. 0 {package → }/test/test_rpc_arguments.txt
  55. 0 {package → }/test/test_rpc_complex.js
  56. 0 {package → }/test/test_rpc_complex.txt
  57. 0 {package → }/test/test_rpc_error.js
  58. 0 {package → }/test/test_rpc_error.txt
  59. 0 {package → }/test/test_rpc_options.js
  60. 0 {package → }/test/test_rpc_options.txt
  61. 0 {package → }/test/test_rpc_progress.js
  62. 0 {package → }/test/test_rpc_progress.txt
  63. 0 {package → }/test/test_rpc_routing.js
  64. 0 {package → }/test/test_rpc_routing.txt
  65. 0 {package → }/test/test_rpc_slowsquare.js
  66. 0 {package → }/test/test_rpc_slowsquare.txt
  67. 0 {package → }/test/testutil.js
View
@@ -6,4 +6,6 @@ node_modules
*.pyc
*.pid
.idea/
.*.swp
.lock-*
package/.crossbar/
File renamed without changes.
View
@@ -1,10 +1,11 @@
.PHONY: clean build publish
.PHONY: clean build publish test
default:
@echo "Targets: clean, build, publish"
clean:
rm -rf build
rm -rf ./node_modules
build:
scons
@@ -20,3 +21,18 @@ closure_version:
requirements:
pip install -U scons scour taschenmesser boto
test:
npm test
test_connect:
nodeunit test/test_connect.js
test_msgpack_serialization:
nodeunit test/test_msgpack_serialization.js
dependencies:
npm update
publish_npm:
npm publish
View
@@ -9,20 +9,20 @@ env = Environment(tools = ['default', 'taschenmesser'],
ENV = os.environ)
# Get package version
version = json.load(open('package/package.json'))['version']
version = json.load(open('package.json'))['version']
print("Building AutobahnJS {}".format(version))
env['JS_DEFINES'] = {
# 'AUTOBAHNJS_VERSION': "'%s'" % version
}
# Source for Autobahn package
sourcedir = 'package/lib'
sourcedir = 'lib'
sources = [os.path.join(sourcedir, d) for d in os.listdir(sourcedir)]
# browserified
ab = env.Command("build/autobahn.js",
"package/lib/autobahn.js",
"lib/autobahn.js",
"browserify $SOURCE --standalone autobahn -o $TARGET")
Depends(ab, sources)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,5 +0,0 @@
npm-debug.log
node_modules
.*.swp
.lock-*
build
View
@@ -1,22 +0,0 @@
.PHONY: test
default:
@echo "Targets: test, clean, dependencies, publish"
test:
npm test
test_connect:
nodeunit test/test_connect.js
test_msgpack_serialization:
nodeunit test/test_msgpack_serialization.js
clean:
rm -rf ./node_modules
dependencies:
npm update
publish:
npm publish
View
@@ -1,14 +0,0 @@
# AutobahnJS
AutobahnJS implements **[The Web Application Messaging Protocol](http://wamp-proto.org)** in JavaScript.
WAMP provides asynchronous **Remote Procedure Calls** and **Publish & Subscribe** for applications in *one* protocol running over [WebSocket](http://tools.ietf.org/html/rfc6455).
AutobahnJS runs on both **Web browsers** and **[Node.js](http://nodejs.org/)**, and implements the following WAMP roles:
1. Publisher
2. Subscriber
3. Caller
4. Callee
AutobahnJS is part of the [Autobahn project](http://crossbar.io/autobahn/), MIT licensed, and full source code can be found on [GitHub](https://github.com/crossbario/autobahn-js/).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 61e6d60

Please sign in to comment.