arnaucube
arnaucube/comunicationLeapPublic Self-hosted repository
comunicationLeap/node_modules/engine.io/Makefile
node_modules/engine.io/MakefileRaw
 1
 2TESTS = test/*.js
 3BENCHMARKS = $(shell find bench -type f ! -name 'runner.js')
 4REPORTER = dot
 5
 6test:
 7	@./node_modules/.bin/mocha \
 8		--reporter $(REPORTER) \
 9		--slow 500ms \
10		--bail \
11		--globals ___eio,document \
12		$(TESTS)
13
14test-cov: lib-cov
15	EIO_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
16
17lib-cov:
18	jscoverage --no-highlight lib lib-cov
19
20bench:
21	@node $(PROFILEFLAGS) bench/runner.js $(BENCHMARKS)
22
23.PHONY: test test-cov bench