2013-08-17 07:15:57 +00:00
|
|
|
|
2014-05-16 16:23:00 +00:00
|
|
|
SRC = lib/*.js
|
|
|
|
|
|
|
|
include node_modules/make-lint/index.mk
|
|
|
|
|
2013-08-17 07:15:57 +00:00
|
|
|
test:
|
|
|
|
@NODE_ENV=test ./node_modules/.bin/mocha \
|
|
|
|
--require should \
|
|
|
|
--harmony-generators \
|
2013-11-14 02:41:24 +00:00
|
|
|
test/application \
|
2013-11-13 17:01:15 +00:00
|
|
|
test/context/* \
|
|
|
|
test/request/* \
|
|
|
|
test/response/* \
|
2013-08-17 07:15:57 +00:00
|
|
|
--bail
|
|
|
|
|
|
|
|
bench:
|
|
|
|
@$(MAKE) -C benchmarks
|
|
|
|
|
|
|
|
.PHONY: test bench
|