mirror of
https://github.com/hanzoai/passport-github.git
synced 2026-09-23 23:48:07 +00:00
20 lines
383 B
Makefile
20 lines
383 B
Makefile
NODE = node
|
|
TEST = vows
|
|
TESTS ?= test/*-test.js
|
|
|
|
test:
|
|
@NODE_ENV=test NODE_PATH=lib $(TEST) $(TEST_FLAGS) $(TESTS)
|
|
|
|
docs: docs/api.html
|
|
|
|
docs/api.html: lib/passport-github/*.js
|
|
dox \
|
|
--title Passport-GitHub \
|
|
--desc "GitHub authentication strategy for Passport" \
|
|
$(shell find lib/passport-github/* -type f) > $@
|
|
|
|
docclean:
|
|
rm -f docs/*.{1,html}
|
|
|
|
.PHONY: test docs docclean
|