File: Makefile

package info (click to toggle)
passportjs-oauth 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd
  • size: 228 kB
  • ctags: 45
  • sloc: makefile: 19
file content (19 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
NODE = node
TEST = ./node_modules/.bin/vows
TESTS ?= test/*-test.js test/**/*-test.js

test:
	@NODE_ENV=test NODE_PATH=lib $(TEST) $(TEST_FLAGS) $(TESTS)

docs: docs/api.html

docs/api.html: lib/passport-oauth/*.js
	dox \
		--title Passport-OAuth \
		--desc "OAuth 1.0 and 2.0 authentication strategies for Passport" \
		$(shell find lib/passport-oauth/* -type f) > $@

docclean:
	rm -f docs/*.{1,html}

.PHONY: test docs docclean