Set up new module structure

This commit is contained in:
logsol 2012-07-01 01:32:30 +02:00
parent 5f5178d2e8
commit 2e864f5293
534 changed files with 235854 additions and 1 deletions

View file

@ -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