From 686106d544ecc3b6ffd4db2b665d3bc879a58d8c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 24 Sep 2012 16:22:07 -0400 Subject: ok --- .../support/node-websocket-client/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 node_modules/socket.io/support/node-websocket-client/Makefile (limited to 'node_modules/socket.io/support/node-websocket-client/Makefile') diff --git a/node_modules/socket.io/support/node-websocket-client/Makefile b/node_modules/socket.io/support/node-websocket-client/Makefile new file mode 100644 index 0000000..e7c849a --- /dev/null +++ b/node_modules/socket.io/support/node-websocket-client/Makefile @@ -0,0 +1,22 @@ +# This makefile exists to help run tests. +# +# If TEST_UNIX is a non-empty value, runs tests for UNIX sockets. This +# functionality is not in node-websocket-server at the moment. + +.PHONY: test + +all: test test-unix + +test: + for f in `ls -1 test/test-*.js | grep -v unix` ; do \ + echo $$f ; \ + node $$f ; \ + done + +test-unix: + if [[ -n "$$TEST_UNIX" ]] ; then \ + for f in `ls -1 test/test-*.js | grep unix` ; do \ + echo $$f ; \ + node $$f ; \ + done \ + fi -- cgit v1.2.3-70-g09d2