Files
socket.io/Makefile
2012-12-08 20:10:11 -03:00

26 lines
457 B
Makefile

TESTS = $(shell find test/*.js -depth 1 -type f ! -name 'common.js')
REPORTER = dot
build: components lib
@component build --standalone eio
@mv build/build.js engine.io.js
@rm -rf build
components: component.json
@component install --dev
clean:
rm -fr components
test:
@./node_modules/.bin/mocha \
--require ./test/common \
--reporter $(REPORTER) \
$(TESTS)
test-browser:
@./node_modules/.bin/serve test/
.PHONY: test test-browser clean